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: