Task class

Office 2013 and later

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

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

[ScriptTypeAttribute("PS.Task", ServerTypeId = "{007c628f-e1dd-4787-8bcd-7831952571f2}")]
public class Task : ClientObject

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

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