Edit

Share via


BuildHttpClientBase.GetTicketedLogsContentZipAsync Method

Definition

[Preview API] Gets a Zip file of the logs for a given build.

public virtual System.Threading.Tasks.Task<System.IO.Stream> GetTicketedLogsContentZipAsync (int buildId, Guid projectId, string downloadTicket, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTicketedLogsContentZipAsync : int * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetTicketedLogsContentZipAsync : int * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

buildId
Int32

The ID of the build.

projectId
Guid

The project ID.

downloadTicket
String

A valid ticket that gives permission to download the logs.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to