EndOfStreamException Constructor

EndOfStreamException Constructor

 

Initializes a new instance of the EndOfStreamException class.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodEndOfStreamException()

Initializes a new instance of the EndOfStreamException class with its message string set to a system-supplied message and its HRESULT set to COR_E_ENDOFSTREAM.

System_CAPS_protmethodEndOfStreamException(SerializationInfo, StreamingContext)

Initializes a new instance of the EndOfStreamException class with the specified serialization and context information.

System_CAPS_pubmethodEndOfStreamException(String)

Initializes a new instance of the EndOfStreamException class with its message string set to message and its HRESULT set to COR_E_ENDOFSTREAM.

System_CAPS_pubmethodEndOfStreamException(String, Exception)

Initializes a new instance of the EndOfStreamException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Return to top
Show:
© 2016 Microsoft