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 (String^, Exception^)

 

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

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

public:
Win32Exception(
	String^ message,
	Exception^ innerException
)

Parameters

message
Type: System::String^

A detailed description of the error.

innerException
Type: System::Exception^

A reference to the inner exception that is the cause of this exception.

SecurityPermission

for access to unmanaged code. Associated enumeration: UnmanagedCode

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft