WorkItem.Open Method

Last Update: 4/5/2017

Team Services | TFS 2017 | TFS 2015 | TFS 2013

Opens a work item for modification. This method is rate limited for Team Services customers. For better performance and to work around the rate limits, use PartialOpen.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

C#

public void Open()

C++

public:
void Open()

F#

member Open : unit -> unit

JScript

public void Open()

VB

'Declaration
Public Sub Open

Remarks

This method should be used only if you require historical data, attachments, links or other non-field data. If you want to work only with the latest revision of the work item, use the PartialOpen method.

Using Open requires a round trip to the server for each work item and consumes local resources to store revision history and non-field data.

This method does nothing if IsOpen or IsNew are true.

.NET Framework Security