InvalidProfileException Class

Definition

Represents the exception that is thrown because the profile that is specified for the user role is not valid.

public ref class InvalidProfileException : Microsoft::EnterpriseManagement::Common::InvalidMonitoringProfileException
[System.Serializable]
public class InvalidProfileException : Microsoft.EnterpriseManagement.Common.InvalidMonitoringProfileException
type InvalidProfileException = class
    inherit InvalidMonitoringProfileException
Public Class InvalidProfileException
Inherits InvalidMonitoringProfileException
Inheritance
Attributes

Constructors

InvalidProfileException()

Initializes a new instance of the InvalidProfileException class.

InvalidProfileException(Exception)

Initializes a new instance of the InvalidProfileException class using a reference to the inner exception that is the cause of this exception.

InvalidProfileException(Guid, Guid)

Initializes a new instance of the InvalidProfileException class using the specified user role and profile identifier parameters.

InvalidProfileException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidProfileException class using serialized data.

InvalidProfileException(String)

Initializes a new instance of the InvalidProfileException class using the specified error message.

InvalidProfileException(String, Exception)

Initializes a new instance of the InvalidProfileException class using the specified message and a reference to the inner exception that is the cause of this exception.

Properties

ProfileId

Gets the identifier for the invalid Profile.

(Inherited from InvalidMonitoringProfileException)
UserRoleId

Gets the identifier for the User Role.

(Inherited from InvalidMonitoringProfileException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

(Inherited from InvalidMonitoringProfileException)

Applies to