Condividi tramite


MonitoringTaskInUserRoleScopeNotAllowedException 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 MonitoringTaskInUserRoleScopeNotAllowedException 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 MonitoringTaskInUserRoleScopeNotAllowedException(userRoleId)

Syntax

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

Parameters

  • userRoleId
    A globally unique identifier (GUID) for the User Role that the monitoring Task is not allowed in.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

MonitoringTaskInUserRoleScopeNotAllowedException Class
MonitoringTaskInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace