Share via


IOException Constructor

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

Overload List

Name Description
IOException () Initializes a new instance of the IOException class with its message string set to the empty string (""), its HRESULT parameter set to COR_E_IO, and its inner exception set to a null reference.
IOException (String) Initializes a new instance of the IOException class with its message string set to message, its HRESULT parameter set to COR_E_IO, and its inner exception set to a null reference.
IOException (String, Exception) Initializes a new instance of the IOException class with a specified error message and a reference to the inner exception that caused the current exception.
IOException (String, Int32) Initializes a new instance of the IOException class with its message string set to message and its HRESULT parameter set to a programmer-defined value.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

IOException Class
IOException Members
System.IO Namespace