[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]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

Visual Basic
Dim userRoleId As Guid

Dim instance As New ConsoleTaskInUserRoleScopeNotAllowedException(userRoleId)

Syntax

Visual Basic
Public Sub New ( _
		userRoleId As Guid _
)
C#
public ConsoleTaskInUserRoleScopeNotAllowedException (
		Guid userRoleId
)
C++
public:
ConsoleTaskInUserRoleScopeNotAllowedException (
		Guid userRoleId
)
J#
public ConsoleTaskInUserRoleScopeNotAllowedException (
		Guid userRoleId
)
JScript
public function ConsoleTaskInUserRoleScopeNotAllowedException (
		userRoleId : Guid
)

Parameters

userRoleId

The user role identifier.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also