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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method 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.
Public method 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 null.
Protected method IOException(SerializationInfo, StreamingContext) Initializes a new instance of the IOException class with the specified serialization and context information.
Public method 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.
Public method IOException(String, Int32) Initializes a new instance of the IOException class with its message string set to message and its HRESULT user-defined.
Top
Show:
© 2018 Microsoft