Compartilhar via


InvalidConsoleTaskInUserRoleScopeException Constructor (Guid, Guid)

Initializes a new instance of the InvalidConsoleTaskInUserRoleScopeException class using the specified user role and console task identifier parameters.

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

Usage

'Usage
Dim userRoleId As Guid
Dim consoleTaskId As Guid

Dim instance As New InvalidConsoleTaskInUserRoleScopeException(userRoleId, consoleTaskId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    consoleTaskId As Guid _
)
public InvalidConsoleTaskInUserRoleScopeException (
    Guid userRoleId,
    Guid consoleTaskId
)
public:
InvalidConsoleTaskInUserRoleScopeException (
    Guid userRoleId, 
    Guid consoleTaskId
)
public InvalidConsoleTaskInUserRoleScopeException (
    Guid userRoleId, 
    Guid consoleTaskId
)
public function InvalidConsoleTaskInUserRoleScopeException (
    userRoleId : Guid, 
    consoleTaskId : Guid
)

Parameters

  • userRoleId
    The GUID for the user role.
  • consoleTaskId
    The GUID for the console task.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidConsoleTaskInUserRoleScopeException Class
InvalidConsoleTaskInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace