Class StreamReadException
Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.2.0)
Pengecualian pembacaan aliran. Disebabkan ketika pembacaan aliran gagal karena permintaan offset dan jumlah byte yang tidak benar.
public class StreamReadException : FrameworkException, ISerializable
Pewarisan
object ← Exception ← FrameworkException ← StreamReadException
Mengimplementasikan
Anggota yang Dwarisi
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()
Konstruktor
StreamReadException(string)
Menginisialisasi instance baru dari kelas Aspose.Imaging.CoreExceptions.StreamReadException.
public StreamReadException(string message)
Parameter
message
string
Pesan.
StreamReadException(string, Exception)
Menginisialisasi instance baru dari kelas Aspose.Imaging.CoreExceptions.StreamReadException.
public StreamReadException(string message, Exception innerException)
Parameter
message
string
Pesan.
innerException
Exception
Pengecualian dalam.
StreamReadException(string, Exception, int, int)
Menginisialisasi instance baru dari kelas Aspose.Imaging.CoreExceptions.StreamReadException.
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)
Parameter
message
string
Pesan.
innerException
Exception
Pengecualian dalam.
expectedReadCount
int
Jumlah pembacaan yang diharapkan.
actualReadCount
int
Jumlah pembacaan yang sebenarnya.
StreamReadException(string, int, int)
Menginisialisasi instance baru dari kelas Aspose.Imaging.CoreExceptions.StreamReadException.
public StreamReadException(string message, int expectedReadCount, int actualReadCount)
Parameter
message
string
Pesan.
expectedReadCount
int
Jumlah pembacaan yang diharapkan.
actualReadCount
int
Jumlah pembacaan yang sebenarnya.
Properti
ActualReadCount
Mendapatkan jumlah byte yang dibaca sebenarnya.
public int ActualReadCount { get; }
Nilai Properti
ExpectedReadCount
Mendapatkan jumlah byte yang dibaca yang diharapkan.
public int ExpectedReadCount { get; }