Share via


TaskInUserRoleScopeNotAllowedException Class

Definition

Represents the exception that is thrown because the task is not allowed in the user role scope. The profile associated with the user role does not allow the task to be specified.

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

Constructors

TaskInUserRoleScopeNotAllowedException()

Initializes a new instance of the TaskInUserRoleScopeNotAllowedException class.

TaskInUserRoleScopeNotAllowedException(Exception)

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

TaskInUserRoleScopeNotAllowedException(Guid)

Initializes a new instance of the TaskInUserRoleScopeNotAllowedException class using the specified user role identifier.

TaskInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

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

TaskInUserRoleScopeNotAllowedException(String, Exception)

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

TaskInUserRoleScopeNotAllowedException(String)

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

Properties

UserRoleId

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

(Inherited from MonitoringTaskInUserRoleScopeNotAllowedException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

(Inherited from MonitoringTaskInUserRoleScopeNotAllowedException)

Applies to