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)
Syntax
'Declaration
Public Sub Save
'Usage
Dim instance As WorkItem
instance.Save()
public void Save()
public:
void Save()
public function Save()
Exceptions
Exception | Condition |
---|---|
[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. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.