Class StreamReadException
Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.2.0)
ストリーム読み取り例外。ストリーム読み取りが不正なオフセットおよびバイト数要求によって失敗したときに発生します。
public class StreamReadException : FrameworkException, ISerializable
継承
object ← Exception ← FrameworkException ← StreamReadException
実装
継承されたメンバー
Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, Exception.SerializeObjectState, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
コンストラクター
StreamReadException(string)
Aspose.Imaging.CoreExceptions.StreamReadExceptionクラスの新しいインスタンスを初期化します。
public StreamReadException(string message)
パラメーター
message
string
メッセージ。
StreamReadException(string, Exception)
Aspose.Imaging.CoreExceptions.StreamReadExceptionクラスの新しいインスタンスを初期化します。
public StreamReadException(string message, Exception innerException)
パラメーター
message
string
メッセージ。
innerException
Exception
内部例外。
StreamReadException(string, Exception, int, int)
Aspose.Imaging.CoreExceptions.StreamReadExceptionクラスの新しいインスタンスを初期化します。
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)
パラメーター
message
string
メッセージ。
innerException
Exception
内部例外。
expectedReadCount
int
期待される読み取りカウント。
actualReadCount
int
実際の読み取りカウント。
StreamReadException(string, int, int)
Aspose.Imaging.CoreExceptions.StreamReadExceptionクラスの新しいインスタンスを初期化します。
public StreamReadException(string message, int expectedReadCount, int actualReadCount)
パラメーター
message
string
メッセージ。
expectedReadCount
int
期待される読み取りカウント。
actualReadCount
int
実際の読み取りカウント。
プロパティ
ActualReadCount
実際の読み取ったバイト数を取得します。
public int ActualReadCount { get; }
プロパティ値
ExpectedReadCount
期待される読み取ったバイト数を取得します。
public int ExpectedReadCount { get; }