Share via


InvalidMonitoringProfileException Class

Definition

Caution

Use InvalidProfileException

Represents the exception that is thrown because the Profile that is specified for the User Role is not valid.

public ref class InvalidMonitoringProfileException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Obsolete("Use InvalidProfileException")]
[System.Serializable]
public class InvalidMonitoringProfileException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type InvalidMonitoringProfileException = class
    inherit EnterpriseManagementException
Public Class InvalidMonitoringProfileException
Inherits EnterpriseManagementException
Inheritance
InvalidMonitoringProfileException
Derived
Attributes

Constructors

InvalidMonitoringProfileException()

Initializes a new InvalidMonitoringProfileException object.

InvalidMonitoringProfileException(Exception)

Initializes a new InvalidMonitoringProfileException object by specifying an inner exception that caused the current exception.

InvalidMonitoringProfileException(Guid, Guid)

Initializes a new InvalidMonitoringProfileException object with User Role and Profile identifiers.

InvalidMonitoringProfileException(InvalidProfileException)

Initializes a new instance of the InvalidMonitoringProfileException class by copying values from the specified exception.

InvalidMonitoringProfileException(SerializationInfo, StreamingContext)

Initializes a new InvalidMonitoringProfileException object with serialized data.

InvalidMonitoringProfileException(String)

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

InvalidMonitoringProfileException(String, Exception)

Initializes a new InvalidMonitoringProfileException object by using an error message and inner exception.

Properties

ProfileId

Gets the identifier for the invalid Profile.

UserRoleId

Gets the identifier for the User Role.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the parameters required to serialize this instance of the InvalidMonitoringProfileException class.

Applies to