Edit

Share via


TfvcHttpClientBase.GetItemsBatchZipAsync Method

Definition

Overloads

GetItemsBatchZipAsync(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.

GetItemsBatchZipAsync(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.

GetItemsBatchZipAsync(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.

GetItemsBatchZipAsync(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.IO.Stream> GetItemsBatchZipAsync(Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData itemRequestData, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchZipAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetItemsBatchZipAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

itemRequestData
TfvcItemRequestData
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchZipAsync(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.IO.Stream> GetItemsBatchZipAsync(Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData itemRequestData, Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchZipAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetItemsBatchZipAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

itemRequestData
TfvcItemRequestData
project
Guid

Project ID

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchZipAsync(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.IO.Stream> GetItemsBatchZipAsync(Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData itemRequestData, string project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchZipAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetItemsBatchZipAsync : Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItemRequestData * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

itemRequestData
TfvcItemRequestData
project
String

Project ID or project name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to