Partager via


InvalidTaskInUserRoleScopeException Constructor (Guid, Guid)

[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 InvalidTaskInUserRoleScopeException class using the specified parameters.

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

Usage

'Usage
Dim userRoleId As Guid
Dim taskId As Guid

Dim instance As New InvalidTaskInUserRoleScopeException(userRoleId, taskId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    taskId As Guid _
)
public InvalidTaskInUserRoleScopeException (
    Guid userRoleId,
    Guid taskId
)
public:
InvalidTaskInUserRoleScopeException (
    Guid userRoleId, 
    Guid taskId
)
public InvalidTaskInUserRoleScopeException (
    Guid userRoleId, 
    Guid taskId
)
public function InvalidTaskInUserRoleScopeException (
    userRoleId : Guid, 
    taskId : Guid
)

Parameters

  • userRoleId
    The GUID for the user role.
  • taskId
    The GUID for the invalid task.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidTaskInUserRoleScopeException Class
InvalidTaskInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace