Edit

Share via


TfvcHttpClientBase.GetShelvesetsAsync Method

Definition

[Preview API] Return a collection of shallow shelveset references.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcShelvesetRef>> GetShelvesetsAsync(Microsoft.TeamFoundation.SourceControl.WebApi.TfvcShelvesetRequestData requestData = null, Nullable<int> top = null, Nullable<int> skip = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetShelvesetsAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcShelvesetRequestData * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcShelvesetRef>>
override this.GetShelvesetsAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcShelvesetRequestData * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcShelvesetRef>>

Parameters

requestData
TfvcShelvesetRequestData

name, owner, and maxCommentLength

top
Nullable<Int32>

Max number of shelvesets to return

skip
Nullable<Int32>

Number of shelvesets to skip

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to