This documentation is archived and is not being maintained.

WorkItem.Save Method

Saves this WorkItem after validating its contents.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in microsoft.teamfoundation.workitemtracking.client.dll)

public void Save ()
public void Save ()
public function Save ()

Exception typeCondition

ValidationException

Thrown if the Fields in the WorkItem are not valid for its WorkItemType. This condition can be checked prior to the save by checking IsValid.

Show: