ObjectInUserRoleScopeNotAllowedException Class

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

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

Usage

'Usage
Dim instance As ObjectInUserRoleScopeNotAllowedException

Syntax

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

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.EnterpriseManagement.Common.MonitoringException
       Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
         Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeNotAllowedException
          Microsoft.EnterpriseManagement.Common.ObjectInUserRoleScopeNotAllowedException

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

ObjectInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace