Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft