Partager via


UserTask Constructor

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new UserTask object.

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

Usage

'Usage
Dim name As String
Dim task As ManagementPackTask

Dim instance As New UserTask(name, task)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    task As ManagementPackTask _
)
public UserTask (
    string name,
    ManagementPackTask task
)
public:
UserTask (
    String^ name, 
    ManagementPackTask^ task
)
public UserTask (
    String name, 
    ManagementPackTask task
)
public function UserTask (
    name : String, 
    task : ManagementPackTask
)

Parameters

  • name
    The display name of the user task.
  • task
    The contained task of the user task.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

UserTask Class
UserTask Members
Microsoft.EnterpriseManagement.UserInfo Namespace