StreamReadException.StreamReadException

StreamReadException(string)

Initializes a new instance of the StreamReadException class.

public StreamReadException(string message)
ParameterTypeDescription
messageStringThe message.

See Also


StreamReadException(string, Exception)

Initializes a new instance of the StreamReadException class.

public StreamReadException(string message, Exception innerException)
ParameterTypeDescription
messageStringThe message.
innerExceptionExceptionThe inner exception.

See Also


StreamReadException(string, Exception, int, int)

Initializes a new instance of the StreamReadException class.

public StreamReadException(string message, Exception innerException, int expectedReadCount, 
    int actualReadCount)
ParameterTypeDescription
messageStringThe message.
innerExceptionExceptionThe inner exception.
expectedReadCountInt32The expected read count.
actualReadCountInt32The actual read count.

See Also


StreamReadException(string, int, int)

Initializes a new instance of the StreamReadException class.

public StreamReadException(string message, int expectedReadCount, int actualReadCount)
ParameterTypeDescription
messageStringThe message.
expectedReadCountInt32The expected read count.
actualReadCountInt32The actual read count.

See Also