WorkItem.Open Method
TFS 2018 | TFS 2017 | TFS 2015
Opens a work item for modification. This method is rate limited for Azure DevOps Services. 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
- 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.