Edit

Share via


TfvcHttpClientBase.GetShelvesetWorkItemsAsync Method

Definition

[Preview API] Get work items associated with a shelveset.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>> GetShelvesetWorkItemsAsync(string shelvesetId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetShelvesetWorkItemsAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>
override this.GetShelvesetWorkItemsAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>

Parameters

shelvesetId
String

Shelveset's unique ID

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to