Initializes a new ManagementPackException object with an exception code that identifies the cause of the exception. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim exceptioncode As ManagementPackExceptionCode

Dim instance As New ManagementPackException(exceptioncode)

Syntax

Visual Basic
Public Sub New ( _
		exceptioncode As ManagementPackExceptionCode _
)
C#
public ManagementPackException (
		ManagementPackExceptionCode exceptioncode
)
C++
public:
ManagementPackException (
		ManagementPackExceptionCode exceptioncode
)
J#
public ManagementPackException (
		ManagementPackExceptionCode exceptioncode
)
JScript
public function ManagementPackException (
		exceptioncode : ManagementPackExceptionCode
)

Parameters

exceptioncode

The exception code that identifies the cause of the exception.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also