Compartilhar via


ConsoleTaskInUserRoleScopeNotAllowedException Constructor (Guid)

Initializes a new instance of the ConsoleTaskInUserRoleScopeNotAllowedException class with reference to the user role.

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

Usage

'Usage
Dim userRoleId As Guid

Dim instance As New ConsoleTaskInUserRoleScopeNotAllowedException(userRoleId)

Syntax

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

Parameters

  • userRoleId
    The user role identifier.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ConsoleTaskInUserRoleScopeNotAllowedException Class
ConsoleTaskInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace