StreamReadException

StreamReadException constructor (1 of 4)

Initializes a new instance of the StreamReadException class.

public StreamReadException(string message)
ParameterTypeDescription
messageStringThe message.

See Also


StreamReadException constructor (2 of 4)

Initializes a new instance of the StreamReadException class.

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

See Also


StreamReadException constructor (3 of 4)

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 constructor (4 of 4)

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