TfvcHttpClientBase.GetShelvesetsAsync 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] 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
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.