StreamReadException

StreamReadException constructor (1 of 4)

Initializes a new instance of the StreamReadException class.

public StreamReadException(string message)
Parameter Type Description
message String The message.

See Also


StreamReadException constructor (2 of 4)

Initializes a new instance of the StreamReadException class.

public StreamReadException(string message, Exception innerException)
Parameter Type Description
message String The message.
innerException Exception The 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)
Parameter Type Description
message String The message.
innerException Exception The inner exception.
expectedReadCount Int32 The expected read count.
actualReadCount Int32 The 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)
Parameter Type Description
message String The message.
expectedReadCount Int32 The expected read count.
actualReadCount Int32 The actual read count.

See Also