Partager via


MonitoringTaskInUserRoleScopeNotAllowedException Class

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.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

'Usage
Dim instance As MonitoringTaskInUserRoleScopeNotAllowedException

Syntax

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

Inheritance Hierarchy

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

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

MonitoringTaskInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.