Share via


TaskInUserRoleScopeNotAllowedException Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As TaskInUserRoleScopeNotAllowedException

Syntax

'Declaration
<SerializableAttribute> _
Public Class TaskInUserRoleScopeNotAllowedException
    Inherits MonitoringTaskInUserRoleScopeNotAllowedException
[SerializableAttribute] 
public class TaskInUserRoleScopeNotAllowedException : MonitoringTaskInUserRoleScopeNotAllowedException
[SerializableAttribute] 
public ref class TaskInUserRoleScopeNotAllowedException : public MonitoringTaskInUserRoleScopeNotAllowedException
/** @attribute SerializableAttribute() */ 
public class TaskInUserRoleScopeNotAllowedException extends MonitoringTaskInUserRoleScopeNotAllowedException
SerializableAttribute 
public class TaskInUserRoleScopeNotAllowedException extends MonitoringTaskInUserRoleScopeNotAllowedException

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.EnterpriseManagement.Common.MonitoringException
       Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
         Microsoft.EnterpriseManagement.Common.MonitoringTaskInUserRoleScopeNotAllowedException
          Microsoft.EnterpriseManagement.Common.TaskInUserRoleScopeNotAllowedException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

TaskInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace