Share via


MonitoringClassInUserRoleScopeNotAllowedException Class

Definition

Caution

Use ClassInUserRoleScopeNotAllowedException

Represents the exception that is thrown because the monitoring Class is not allowed in the User Role scope. The profile associated with the User Role does not allow the monitoring Class to be specified.

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

Constructors

MonitoringClassInUserRoleScopeNotAllowedException()

Initializes a new MonitoringClassInUserRoleScopeNotAllowedException object.

MonitoringClassInUserRoleScopeNotAllowedException(ClassInUserRoleScopeNotAllowedException)

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

MonitoringClassInUserRoleScopeNotAllowedException(Exception)

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

MonitoringClassInUserRoleScopeNotAllowedException(Guid)

Initializes a new MonitoringClassInUserRoleScopeNotAllowedException object by specifying a User Role identifier.

MonitoringClassInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new MonitoringClassInUserRoleScopeNotAllowedException object with serialized data.

MonitoringClassInUserRoleScopeNotAllowedException(String)

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

MonitoringClassInUserRoleScopeNotAllowedException(String, Exception)

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

Properties

UserRoleId

Gets the identifier of the User Role with the Class in its scope that caused the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

Applies to