WorkItem.PartialOpen Method
Opens this work item for modification when transmitting minimal amounts of data over the network.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Dichiarazione
Public Sub PartialOpen
public void PartialOpen()
public:
void PartialOpen()
member PartialOpen : unit -> unit
public function PartialOpen()
Exceptions
Exception | Condition |
---|---|
ValidationException | This WorkItem instance does not belong to a WorkItemCollection. |
DeniedOrNotExistException | This WorkItem instance could not be opened for edit correctly. |
Remarks
The PartialOpen method pages only in field data for the latest revision of this work item. If you require historical or non-field data (e.g., links and attachments), you must use Open to fully open the work item.
By using PartialOpen, you can save bandwidth, resources, and time by paging in data for multiple work item fields up to the page size that is specified in WorkItemCollection.PageSize.
This method does nothing if this work item is new, open, or partially open.
.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.