StreamReadException.StreamReadException

StreamReadException(string)

初始化一个新的实例StreamReadException类.

public StreamReadException(string message)
范围类型描述
messageString消息。

也可以看看


StreamReadException(string, Exception)

初始化一个新的实例StreamReadException类.

public StreamReadException(string message, Exception innerException)
范围类型描述
messageString消息。
innerExceptionException内部异常。

也可以看看


StreamReadException(string, Exception, int, int)

初始化一个新的实例StreamReadException类.

public StreamReadException(string message, Exception innerException, int expectedReadCount, 
    int actualReadCount)
范围类型描述
messageString消息。
innerExceptionException内部异常。
expectedReadCountInt32预期的读取计数。
actualReadCountInt32实际读取计数。

也可以看看


StreamReadException(string, int, int)

初始化一个新的实例StreamReadException类.

public StreamReadException(string message, int expectedReadCount, int actualReadCount)
范围类型描述
messageString消息。
expectedReadCountInt32预期的读取计数。
actualReadCountInt32实际读取计数。

也可以看看