ManagementException Constructor (String, Exception)

 

Initializes an empty new instance of the ManagementException class. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

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

public ManagementException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The message that describes the error.

innerException
Type: System.Exception

The exception that is the cause of the current exception.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: