Share via


MonitoringTaskInUserRoleScopeNotAllowedException Class

Definition

Caution

Use TaskInUserRoleScopeNotAllowedException

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

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

Constructors

MonitoringTaskInUserRoleScopeNotAllowedException()

Initializes a new MonitoringTaskInUserRoleScopeNotAllowedException object.

MonitoringTaskInUserRoleScopeNotAllowedException(Exception)

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

MonitoringTaskInUserRoleScopeNotAllowedException(Guid)

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

MonitoringTaskInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new MonitoringTaskInUserRoleScopeNotAllowedException object with serialized data.

MonitoringTaskInUserRoleScopeNotAllowedException(String)

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

MonitoringTaskInUserRoleScopeNotAllowedException(String, Exception)

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

MonitoringTaskInUserRoleScopeNotAllowedException(TaskInUserRoleScopeNotAllowedException)

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

Properties

UserRoleId

Gets the identifier of the User Role with the scope that the Task is not allowed in.

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

Applies to