TfvcHttpClientBase.GetLabelItemsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Preview API] Get items under a label.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>> GetLabelItemsAsync(string labelId, Nullable<int> top = null, Nullable<int> skip = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetLabelItemsAsync : string * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>
override this.GetLabelItemsAsync : string * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>
Parameters
- labelId
- String
Unique identifier of label
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.