BuildHttpClientBase.GetBuildLogLinesAsync 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
GetBuildLogLinesAsync(Guid, Int32, Int32, Nullable<Int64>, Nullable<Int64>, Object, CancellationToken) |
[Preview API] Gets an individual log file for a build. |
GetBuildLogLinesAsync(String, Int32, Int32, Nullable<Int64>, Nullable<Int64>, Object, CancellationToken) |
[Preview API] Gets an individual log file for a build. |
GetBuildLogLinesAsync(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.Collections.Generic.List<string>> GetBuildLogLinesAsync (Guid project, int buildId, int logId, Nullable<long> startLine = null, Nullable<long> endLine = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBuildLogLinesAsync : Guid * int * int * Nullable<int64> * Nullable<int64> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
override this.GetBuildLogLinesAsync : Guid * int * int * Nullable<int64> * Nullable<int64> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
Parameters
- project
- Guid
Project ID
- buildId
- Int32
The ID of the build.
- logId
- Int32
The ID of the log file.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBuildLogLinesAsync(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.Collections.Generic.List<string>> GetBuildLogLinesAsync (string project, int buildId, int logId, Nullable<long> startLine = null, Nullable<long> endLine = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBuildLogLinesAsync : string * int * int * Nullable<int64> * Nullable<int64> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
override this.GetBuildLogLinesAsync : string * int * int * Nullable<int64> * Nullable<int64> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
Parameters
- project
- String
Project ID or project name
- buildId
- Int32
The ID of the build.
- logId
- Int32
The ID of the log file.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for