Share via


ManagementPackException Class

Definition

Represents the exception that is thrown because there is a problem processing or parsing a management pack.

public ref class ManagementPackException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Runtime.Serialization.KnownType("KnownTypes")]
[System.Serializable]
public class ManagementPackException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type ManagementPackException = class
    inherit EnterpriseManagementException
Public Class ManagementPackException
Inherits EnterpriseManagementException
Inheritance
Attributes

Constructors

ManagementPackException()

Initializes a new ManagementPackException object.

ManagementPackException(ManagementPackExceptionCode)

Initializes a new ManagementPackException object with an exception code that identifies the cause of the exception.

ManagementPackException(ManagementPackExceptionCode, Exception)

Initializes a new ManagementPackException object with the exception code that identifies the exception and the inner exception that caused the exception.

ManagementPackException(ManagementPackExceptionCode, Exception, Object[])

Initializes a new ManagementPackException object.

ManagementPackException(ManagementPackExceptionCode, Exception, String[])

Initializes a new ManagementPackException object.

ManagementPackException(ManagementPackExceptionCode, Object[])

Initializes a new ManagementPackException object.

ManagementPackException(ManagementPackExceptionCode, String[])

Initializes a new ManagementPackException object.

ManagementPackException(SerializationInfo, StreamingContext)

Initializes a new ManagementPackException object with serialized data.

ManagementPackException(String)

Initializes a new ManagementPackException object by specifying the error message that describes the current exception.

ManagementPackException(String, Exception)

Initializes a new ManagementPackException object with an error message and inner exception.

Properties

ExceptionCode

Gets the exception code that identifies the cause of the exception.

ExceptionParameters

Gets the parameters that are used to replace variables in the exception message.

Message

Gets the message that describes the cause of the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Retrieves the object with information about the exception.

ToString()

Returns a string that contains the error message from the current exception with the error message from the inner exception appended to the current error message.

Applies to