Edit

Share via


TfvcHttpClientBase.GetItemsBatchAsync Method

Definition

Overloads

GetItemsBatchAsync(TfvcItemRequestData, Object, CancellationToken)

[Preview API] Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.

GetItemsBatchAsync(TfvcItemRequestData, Guid, Object, CancellationToken)

[Preview API] Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.

GetItemsBatchAsync(TfvcItemRequestData, String, Object, CancellationToken)

[Preview API] Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.

GetItemsBatchAsync(TfvcItemRequestData, Object, CancellationToken)

[Preview API] Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.

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

Parameters

itemRequestData
TfvcItemRequestData
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchAsync(TfvcItemRequestData, Guid, Object, CancellationToken)

[Preview API] Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData itemRequestData, Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>>
override this.GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>>

Parameters

itemRequestData
TfvcItemRequestData
project
Guid

Project ID

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchAsync(TfvcItemRequestData, String, Object, CancellationToken)

[Preview API] Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.

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

Parameters

itemRequestData
TfvcItemRequestData
project
String

Project ID or project name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to