Compartilhar via


TaskInUserRoleScopeNotAllowedException Constructor (Guid)

Initializes a new instance of the TaskInUserRoleScopeNotAllowedException class using the specified 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 TaskInUserRoleScopeNotAllowedException(userRoleId)

Syntax

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

Parameters

  • userRoleId
    The GUID for the user role.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

TaskInUserRoleScopeNotAllowedException Class
TaskInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace