Constructors: NewEndOfStreamException

NewEndOfStreamException

Returns a new EndOfStreamException with the specified message and optional exception.



 Public Function NewEndOfStreamException(
	  ByVal Message As String,
	  Optional ByVal InnerException As Exception ) As EndOfStreamException

Parameters

Message
[ByVal] String. A human-readable message that describes the cause of the exception.
InnerException
[ByVal] Optional. Exception. The exception that caused this exception.

Return Values

EndOfStreamException -  The new exception object.

Remarks

This exception can be thrown whenever an attempt to read passed the end of a stream is attempted. Such classes as BinaryReader may throw this exception if necessary.

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewDSACryptoServiceProvider NewException