Share via


IOException Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

Overload List

  Name Description
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 nullNothingnullptrunita null reference (Nothing in Visual Basic).
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

See Also

Reference

IOException Class

System.IO Namespace