IOException Constructor

IOException Constructor

 

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

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodIOException()

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.

System_CAPS_protmethodIOException(SerializationInfo, StreamingContext)

Initializes a new instance of the IOException class with the specified serialization and context information.

System_CAPS_pubmethodIOException(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.

System_CAPS_pubmethodIOException(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.

System_CAPS_pubmethodIOException(String, Int32)

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

Return to top
Show:
© 2016 Microsoft