Partager via


MonitoringClassInUserRoleScopeNotAllowedException 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 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.

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

Usage

'Usage
Dim instance As MonitoringClassInUserRoleScopeNotAllowedException

Syntax

'Declaration
<SerializableAttribute> _
<ObsoleteAttribute("Use ClassInUserRoleScopeNotAllowedException")> _
Public Class MonitoringClassInUserRoleScopeNotAllowedException
    Inherits EnterpriseManagementException
[SerializableAttribute] 
[ObsoleteAttribute("Use ClassInUserRoleScopeNotAllowedException")] 
public class MonitoringClassInUserRoleScopeNotAllowedException : EnterpriseManagementException
[SerializableAttribute] 
[ObsoleteAttribute(L"Use ClassInUserRoleScopeNotAllowedException")] 
public ref class MonitoringClassInUserRoleScopeNotAllowedException : public EnterpriseManagementException
/** @attribute SerializableAttribute() */ 
/** @attribute ObsoleteAttribute("Use ClassInUserRoleScopeNotAllowedException") */ 
public class MonitoringClassInUserRoleScopeNotAllowedException extends EnterpriseManagementException
SerializableAttribute 
ObsoleteAttribute("Use ClassInUserRoleScopeNotAllowedException") 
public class MonitoringClassInUserRoleScopeNotAllowedException extends EnterpriseManagementException

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.EnterpriseManagement.Common.MonitoringException
       Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
        Microsoft.EnterpriseManagement.Common.MonitoringClassInUserRoleScopeNotAllowedException
           Microsoft.EnterpriseManagement.Common.ClassInUserRoleScopeNotAllowedException

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

MonitoringClassInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace