Task class

Contains methods and properties that can be used to access the details of the task.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.ProjectServer.Client.Task
      Microsoft.ProjectServer.Client.DraftTask
      Microsoft.ProjectServer.Client.PublishedTask

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

Syntax

'Declaration
<ScriptTypeAttribute("PS.Task", ServerTypeId := "{007c628f-e1dd-4787-8bcd-7831952571f2}")> _
Public Class Task _
    Inherits ClientObject
'Usage
Dim instance As Task
[ScriptTypeAttribute("PS.Task", ServerTypeId = "{007c628f-e1dd-4787-8bcd-7831952571f2}")]
public class Task : ClientObject

Remarks

A task is an activity that has a beginning and an end. Project plans are made up of tasks.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

Task members

Microsoft.ProjectServer.Client namespace