Export (0) Print
Expand All

IOException Constructor ()

.NET Framework 1.1

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.

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

Remarks

The constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "An I/O error occurred while performing the requested operation." This message takes into account the current system culture.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

IOException Class | IOException Members | System.IO Namespace | IOException Constructor Overload List | Working with I/O | Reading Text from a File | Writing Text to a File

Show:
© 2014 Microsoft