Partager via


MonitoringObjectInUserRoleScopeNotAllowedException Constructor (Guid)

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

Initializes a new MonitoringObjectInUserRoleScopeNotAllowedException object by specifying a User Role identifier.

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

Usage

'Usage
Dim userRoleId As Guid

Dim instance As New MonitoringObjectInUserRoleScopeNotAllowedException(userRoleId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid _
)
public MonitoringObjectInUserRoleScopeNotAllowedException (
    Guid userRoleId
)
public:
MonitoringObjectInUserRoleScopeNotAllowedException (
    Guid userRoleId
)
public MonitoringObjectInUserRoleScopeNotAllowedException (
    Guid userRoleId
)
public function MonitoringObjectInUserRoleScopeNotAllowedException (
    userRoleId : Guid
)

Parameters

  • userRoleId
    A GUID for the User Role that the monitoring Object is not allowed in.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

MonitoringObjectInUserRoleScopeNotAllowedException Class
MonitoringObjectInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace