Share via


Task constructor

Creates an instance of the Task class.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    context As ClientRuntimeContext, _
    objectPath As ObjectPath _
)
'Usage
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath

Dim instance As New Task(context, _
    objectPath)
public Task(
    ClientRuntimeContext context,
    ObjectPath objectPath
)

Parameters

See also

Reference

Task class

Task members

Microsoft.ProjectServer.Client namespace