GitHttpClientBase.GetBlobsZipAsync 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.
Overloads
| GetBlobsZipAsync(IEnumerable<String>, String, String, String, Object, CancellationToken) |
[Preview API] Gets one or more blobs in a zip file download. |
| GetBlobsZipAsync(IEnumerable<String>, String, Guid, String, Object, CancellationToken) |
[Preview API] Gets one or more blobs in a zip file download. |
| GetBlobsZipAsync(IEnumerable<String>, Guid, String, String, Object, CancellationToken) |
[Preview API] Gets one or more blobs in a zip file download. |
| GetBlobsZipAsync(IEnumerable<String>, Guid, Guid, String, Object, CancellationToken) |
[Preview API] Gets one or more blobs in a zip file download. |
| GetBlobsZipAsync(IEnumerable<String>, String, String, Object, CancellationToken) |
[Preview API] Gets one or more blobs in a zip file download. |
| GetBlobsZipAsync(IEnumerable<String>, Guid, String, Object, CancellationToken) |
[Preview API] Gets one or more blobs in a zip file download. |
GetBlobsZipAsync(IEnumerable<String>, String, String, String, Object, CancellationToken)
[Preview API] Gets one or more blobs in a zip file download.
public virtual System.Threading.Tasks.Task<System.IO.Stream> GetBlobsZipAsync(System.Collections.Generic.IEnumerable<string> blobIds, string project, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBlobsZipAsync : seq<string> * string * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetBlobsZipAsync : seq<string> * string * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Parameters
- blobIds
- IEnumerable<String>
Blob IDs (SHA1 hashes) to be returned in the zip file.
- project
- String
Project ID or project name
- repositoryId
- String
The name or ID of the repository.
- filename
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBlobsZipAsync(IEnumerable<String>, String, Guid, String, Object, CancellationToken)
[Preview API] Gets one or more blobs in a zip file download.
public virtual System.Threading.Tasks.Task<System.IO.Stream> GetBlobsZipAsync(System.Collections.Generic.IEnumerable<string> blobIds, string project, Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBlobsZipAsync : seq<string> * string * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetBlobsZipAsync : seq<string> * string * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Parameters
- blobIds
- IEnumerable<String>
Blob IDs (SHA1 hashes) to be returned in the zip file.
- project
- String
Project ID or project name
- repositoryId
- Guid
The name or ID of the repository.
- filename
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBlobsZipAsync(IEnumerable<String>, Guid, String, String, Object, CancellationToken)
[Preview API] Gets one or more blobs in a zip file download.
public virtual System.Threading.Tasks.Task<System.IO.Stream> GetBlobsZipAsync(System.Collections.Generic.IEnumerable<string> blobIds, Guid project, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBlobsZipAsync : seq<string> * Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetBlobsZipAsync : seq<string> * Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Parameters
- blobIds
- IEnumerable<String>
Blob IDs (SHA1 hashes) to be returned in the zip file.
- project
- Guid
Project ID
- repositoryId
- String
The name or ID of the repository.
- filename
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBlobsZipAsync(IEnumerable<String>, Guid, Guid, String, Object, CancellationToken)
[Preview API] Gets one or more blobs in a zip file download.
public virtual System.Threading.Tasks.Task<System.IO.Stream> GetBlobsZipAsync(System.Collections.Generic.IEnumerable<string> blobIds, Guid project, Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBlobsZipAsync : seq<string> * Guid * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetBlobsZipAsync : seq<string> * Guid * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Parameters
- blobIds
- IEnumerable<String>
Blob IDs (SHA1 hashes) to be returned in the zip file.
- project
- Guid
Project ID
- repositoryId
- Guid
The name or ID of the repository.
- filename
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBlobsZipAsync(IEnumerable<String>, String, String, Object, CancellationToken)
[Preview API] Gets one or more blobs in a zip file download.
public virtual System.Threading.Tasks.Task<System.IO.Stream> GetBlobsZipAsync(System.Collections.Generic.IEnumerable<string> blobIds, string repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBlobsZipAsync : seq<string> * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetBlobsZipAsync : seq<string> * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Parameters
- blobIds
- IEnumerable<String>
Blob IDs (SHA1 hashes) to be returned in the zip file.
- repositoryId
- String
The name or ID of the repository.
- filename
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBlobsZipAsync(IEnumerable<String>, Guid, String, Object, CancellationToken)
[Preview API] Gets one or more blobs in a zip file download.
public virtual System.Threading.Tasks.Task<System.IO.Stream> GetBlobsZipAsync(System.Collections.Generic.IEnumerable<string> blobIds, Guid repositoryId, string filename = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBlobsZipAsync : seq<string> * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetBlobsZipAsync : seq<string> * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Parameters
- blobIds
- IEnumerable<String>
Blob IDs (SHA1 hashes) to be returned in the zip file.
- repositoryId
- Guid
The name or ID of the repository.
- filename
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.