Edit

Share via


BuildHttpClientBase.GetBuildLogZipAsync Method

Definition

Overloads

GetBuildLogZipAsync(Guid, Int32, Int32, Nullable<Int64>, Nullable<Int64>, Object, CancellationToken)

[Preview API] Gets an individual log file for a build.

public virtual System.Threading.Tasks.Task<System.IO.Stream> GetBuildLogZipAsync(Guid project, int buildId, int logId, Nullable<long> startLine = null, Nullable<long> endLine = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBuildLogZipAsync : Guid * int * int * Nullable<int64> * Nullable<int64> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetBuildLogZipAsync : Guid * int * int * Nullable<int64> * Nullable<int64> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

project
Guid

Project ID

buildId
Int32

The ID of the build.

logId
Int32

The ID of the log file.

startLine
Nullable<Int64>

The start line.

endLine
Nullable<Int64>

The end line.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetBuildLogZipAsync(String, Int32, Int32, Nullable<Int64>, Nullable<Int64>, Object, CancellationToken)

[Preview API] Gets an individual log file for a build.

public virtual System.Threading.Tasks.Task<System.IO.Stream> GetBuildLogZipAsync(string project, int buildId, int logId, Nullable<long> startLine = null, Nullable<long> endLine = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBuildLogZipAsync : string * int * int * Nullable<int64> * Nullable<int64> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetBuildLogZipAsync : string * int * int * Nullable<int64> * Nullable<int64> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

project
String

Project ID or project name

buildId
Int32

The ID of the build.

logId
Int32

The ID of the log file.

startLine
Nullable<Int64>

The start line.

endLine
Nullable<Int64>

The end line.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to