Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft