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; }