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.

IOException Constructor

Initializes a new instance of the IOException class with its message string.

Name Description
IOException () Initializes a new instance of the IOException class with its message string set to the empty string (""), its HRESULT set to COR_E_IO, and its inner exception set to a null reference.

Supported by the .NET Compact Framework.

IOException (String) Initializes a new instance of the IOException class with its message string set to message, its HRESULT set to COR_E_IO, and its inner exception set to a null reference (Nothing in Visual Basic).

Supported by the .NET Compact Framework.

IOException (SerializationInfo, StreamingContext) Initializes a new instance of the IOException class with the specified serialization and context information.
IOException (String, Exception) Initializes a new instance of the IOException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Supported by the .NET Compact Framework.

IOException (String, Int32) Initializes a new instance of the IOException class with its message string set to message and its HRESULT user-defined.

Community Additions

Show:
© 2016 Microsoft