Constructors: NewEndOfStreamException

NewEndOfStreamException

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



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

Parameters

Message
[ByRef] 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 EndOfStreamException 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 CorLib Overview

Class Constructors Overview