IOException Constructor

May 11, 2014

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.
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:
© 2014 Microsoft