Task members

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

The Task type exposes the following members.

Constructors

  Name Description
Public method Task Creates an instance of the Task class.

Top

Properties

  Name Description
Public property ActualDuration Gets the span of active working time that is required to complete a task.
Public property ActualDurationTimeSpan Gets the total time interval for the span of active working time that is required to complete a task.
Public property BaselineCost Gets the total planned cost for the task.
Public property BaselineDuration Gets the original span of time that is planned to complete the task, established at the time of the project baseline.
Public property BaselineDurationTimeSpan Gets the total time interval for the original span of time that is planned to complete the task, established at the time of the project baseline.
Public property BaselineFinish Gets the planned task completion date that was set at the time that the baseline was saved.
Public property BaselineStart Gets the planned task start date that was set at the time that the baseline was saved.
Public property BaselineWork Gets the total planned person-hours that are scheduled for a task, as established at the time of the project baseline.
Public property BaselineWorkTimeSpan Gets the total time interval for the total planned person-hours that are scheduled for the task, as established at the time of the project baseline.
Public property BudgetCost Gets the budget costs for budget cost resources.
Public property Context (Inherited from ClientObject.)
Public property CostPerformanceIndex Gets the ratio of the baseline costs of work that has been performed on the task to the actual costs of work that has been performed, calculated up to the project status date or today's date.
Public property CostVariance Gets the difference between the baseline cost and the total cost for the task.
Public property CostVarianceAtCompletion Gets the difference between the baseline cost and the total cost at the completion of the task.
Public property CostVariancePercentage Gets the ratio of cost variance (CV) to the budgeted cost of work that has been performed on the task (BCWP), expressed as a percentage.
Public property Created Gets the date and the time when the task was added to the project.
Public property CustomFields Gets the collection of custom fields for the task.
Public property DurationVariance Gets the difference between the baseline duration of the task and the total duration, or current estimated duration, of the task.
Public property DurationVarianceTimeSpan Gets the total time interval for the difference between the baseline duration of the task and the total duration, or current estimated duration, of the task.
Public property EarliestFinish Gets the earliest date that the task could possibly finish, based on the early finish dates of predecessor and successor tasks, other constraints, and any leveling delay.
Public property EarliestStart Gets the earliest date that the task could possibly begin, based on the early start dates of predecessor and successor tasks and other constraints.
Public property EstimateAtCompletion Gets the estimate at completion (EAC) for the task.
Public property FinishSlack Gets the duration between the EarlyFinish date and the LateFinish date.
Public property FinishSlackTimeSpan Gets the total time interval of planned person-hours scheduled for an assignment, at the time of the project baseline.
Public property FinishVariance Gets the time that represents the difference between the baseline finish date of the task and the current finish date.
Public property FinishVarianceTimeSpan Gets the time interval for the variance of the finish date of the task.
Public property FreeSlack Gets the amount of time that the task can be delayed without delaying successor tasks.
Public property FreeSlackTimeSpan Gets the total time interval for the amount of time that the task can be delayed without delaying successor tasks.
Public property Id Gets the GUID of the task.
Public property IsCritical Gets a value that indicates whether the timing for the task is critical or whether there can be any slack in the timing.
Public property IsExternalTask Gets a value that indicates whether this is a ghost task from another project created by Project Professional.
Public property IsOverAllocated Gets a value that indicates whether the task is overallocated.
Public property IsRecurring Gets a value that indicates whether the task is part of a recurring series.
Public property IsRecurringSummary Gets a value that indicates whether the task is the parent of a recurring series.
Public property IsRolledUp Gets a value that indicates whether information on the subtask Gantt bars is rolled up to the summary task bar.
Public property IsSubProject Gets a value that indicates whether the task represents a subproject.
Public property IsSubProjectReadOnly Gets a value that indicates whether a subproject for this task is read-only.
Public property IsSubProjectScheduledFromFinish Gets a value that indicates whether a subproject for this task is set to schedule from finish.
Public property IsSummary Gets a value that indicates whether the task is a summary task.
Public property LatestFinish Gets the latest date that the task can finish without delaying the finish of the project.
Public property LatestStart Gets the latest date that the task can start without delaying the finish of the project.
Public property Modified Gets the modified date.
Public property Notes Gets the notes about the task.
Protected property ObjectData (Inherited from ClientObject.)
Public property ObjectVersion (Inherited from ClientObject.)
Public property OutlinePosition Gets the position of the task in the project outline hierarchy.
Public property OvertimeCost Gets the total overtime cost for the task.
Public property OvertimeWork Gets the amount of overtime scheduled to be performed on the task.
Public property OvertimeWorkTimeSpan Gets the total time interval for the amount of overtime scheduled to be performed on the task.
Public property Path (Inherited from ClientObject.)
Public property PercentWorkComplete Gets the current status of the task, expressed as the percentage of work that has been completed.
Public property PreLevelingFinish Gets the finish date of the task as it was before resource leveling was performed.
Public property PreLevelingStart Gets the start date of the task as it was before resource leveling was performed.
Public property RegularWork Gets the total amount of non-overtime work that is scheduled to be performed on the task.
Public property RegularWorkTimeSpan Gets the total time interval for the total amount of non-overtime work that is scheduled to be performed on the task.
Public property RemainingCost Gets the remaining scheduled expense that will be incurred during completion of the remaining scheduled work on the task.
Public property RemainingOvertimeCost Gets the remaining scheduled overtime expense for the task.
Public property RemainingOvertimeWork Gets the amount of time, such as person-hours or days, that is required to complete the remaining overtime work for a task.
Public property RemainingOvertimeWorkTimeSpan Gets the total time interval for the amount of time, such as person-hours or days, that is required to complete the remaining overtime work for a task.
Public property RemainingWork Gets the time, such as person-hours or days, that is required to complete the task or set of tasks.
Public property RemainingWorkTimeSpan Gets the total time interval for the time, such as person-hours or days, that is required to complete the task or set of tasks.
Public property Resume Gets the date that the remaining part of the task is scheduled to resume after progress is entered.
Public property ScheduleCostVariance Gets the difference in cost terms between the current progress and the baseline planned progress for a resource on the task.
Public property ScheduledDuration Gets the total span of active working time for the task as entered or as calculated based on the start date, the finish date, calendars, and other scheduling factors.
Public property ScheduledDurationTimeSpan Gets the time interval for the total span of active working time for the task as entered or as calculated based on the start date, the finish date, calendars, and other scheduling factors.
Public property ScheduledFinish Gets the date when work on the task is scheduled to be complete as it was calculated based on the start date, the duration, dependencies, calendars, and other scheduling factors.
Public property ScheduledStart Gets the date when work on the task is scheduled to begin as it was calculated based on dependencies, constraints, calendars, and other scheduling factors.
Public property SchedulePerformanceIndex Gets the ratio of the budgeted cost of work performed to the budgeted cost of work scheduled.
Public property ScheduleVariancePercentage Gets the ratio of schedule variance (SV) to budgeted cost of work scheduled (BCWS), expressed as a percentage.
Public property ServerObjectIsNull (Inherited from ClientObject.)
Public property StartSlack Gets the duration between the EarlyStart date and the LateStart date.
Public property StartSlackTimeSpan Gets the time interval for the duration between the EarlyStart date and the LateStart date.
Public property StartVariance Gets the time that represents the difference between a baseline start date of the task and its currently scheduled start date.
Public property StartVarianceTimeSpan Gets the time interval for the variance of the task start date.
Public property Stop Gets the date that represents the end of the actual portion of the task.
Public property SubProject Gets a project that has been inserted into the master project.
Public property Tag (Inherited from ClientObject.)
Public property ToCompletePerformanceIndex Gets the To Complete Performance Index for the task.
Public property TotalSlack Gets the time that the task's finish date can be delayed without delaying the project's finish date.
Public property TotalSlackTimeSpan Gets the total time interval for the amount of time that the task finish date can be delayed without delaying the project's finish date.
Public property TypedObject (Inherited from ClientObject.)
Public property WorkBreakdownStructure Gets a code that identifies a location in a hierarchical structure that is used to organize tasks for reporting schedules and tracking costs.
Public property WorkVariance Gets the difference between baseline work and currently scheduled work on a task, expressed as, for example, the number of person-hours or days.
Public property WorkVarianceTimeSpan Gets the total time interval for the difference between baseline work and currently scheduled work on the task.

Top

Methods

  Name Description
Protected method CheckUninitializedProperty (Inherited from ClientObject.)
Public method CustomFromJson (Inherited from ClientObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FromJson (Inherited from ClientObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method InitNonPropertyFieldFromJson (Inherited from ClientObject.)
Protected method InitOnePropertyFromJson Reserved for internal use. (Overrides ClientObject.InitOnePropertyFromJson(String, JsonReader).)
Public method IsObjectPropertyInstantiated (Inherited from ClientObject.)
Public method IsPropertyAvailable (Inherited from ClientObject.)
Protected method LoadExpandoFields (Inherited from ClientObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RefreshLoad (Inherited from ClientObject.)
Protected method RemoveFromParentCollection (Inherited from ClientObject.)
Public method Retrieve() (Inherited from ClientObject.)
Public method Retrieve([]) (Inherited from ClientObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateClientObjectPropertyType (Inherited from ClientObject.)

Top

See also

Reference

Task class

Microsoft.ProjectServer.Client namespace