Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Win32Exception.Win32Exception(String, Exception) Constructor

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
public Win32Exception (
	String message, 
	Exception innerException
public function Win32Exception (
	message : String, 
	innerException : Exception
Not applicable.



A detailed description of the error.


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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2015 Microsoft