NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IOException Constructor

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

Overload List

Creates 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 ExceptionInfo reference set to null.

[Visual Basic] Overloads Public Sub New()
[C#] public IOException();
[C++] public: IOException();
[JScript] public function IOException();

Creates a new IOException with its message string set to message, its HRESULT set to COR_E_IO, and its ExceptionInfo reference set to null.

[Visual Basic] Overloads Public Sub New(String)
[C#] public IOException(String);
[C++] public: IOException(String*);
[JScript] public function IOException(String);

Creates a new IOException with its message string set to message and its HRESULT user-defined.

[Visual Basic] Overloads Public Sub New(String, Integer)
[C#] public IOException(String, int);
[C++] public: IOException(String*, int);
[JScript] public function IOException(String, int);

Creates a new IOException with its message string set to message, its HRESULT set to COR_E_ACCESS, and its ExceptionInfo reference set to null.

[Visual Basic] Overloads Public Sub New(String, Exception)
[C#] public IOException(String, Exception);
[C++] public: IOException(String*, Exception);
[JScript] public function IOException(String, Exception);

See Also

IOException Class | IOException Members | System.IO Namespace