Win32Exception Constructor

 

Initializes a new instance of the Win32Exception class.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodWin32Exception()

Initializes a new instance of the Win32Exception class with the last Win32 error that occurred.

System_CAPS_pubmethodWin32Exception(Int32)

Initializes a new instance of the Win32Exception class with the specified error.

System_CAPS_pubmethodWin32Exception(Int32, String)

Initializes a new instance of the Win32Exception class with the specified error and the specified detailed description.

System_CAPS_protmethodWin32Exception(SerializationInfo, StreamingContext)

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

System_CAPS_pubmethodWin32Exception(String)

Initializes a new instance of the Win32Exception class with the specified detailed description.

System_CAPS_pubmethodWin32Exception(String, Exception)

Initializes a new instance of the Win32Exception class with the specified detailed description and the specified exception.

Return to top
Show: