Export (0) Print
Expand All

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)

public void PartialOpen()

ExceptionCondition
ValidationException

This WorkItem instance does not belong to a WorkItemCollection.

DeniedOrNotExistException

This WorkItem instance could not be opened for edit correctly.

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.

Show:
© 2015 Microsoft