TestResultsHttpClientBase.GetTestLogsForBuildAsync 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
GetTestLogsForBuildAsync(Guid, Int32, TestLogType, String, String, Nullable<Boolean>, Nullable<Int32>, String, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestLog>> GetTestLogsForBuildAsync(Guid project, int buildId, Microsoft.TeamFoundation.TestManagement.WebApi.TestLogType type, string directoryPath = null, string fileNamePrefix = null, Nullable<bool> fetchMetaData = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestLogsForBuildAsync : Guid * int * Microsoft.TeamFoundation.TestManagement.WebApi.TestLogType * string * string * Nullable<bool> * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestLog>>
override this.GetTestLogsForBuildAsync : Guid * int * Microsoft.TeamFoundation.TestManagement.WebApi.TestLogType * string * string * Nullable<bool> * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestLog>>
Parameters
- project
- Guid
Project ID
- buildId
- Int32
- type
- TestLogType
- directoryPath
- String
- fileNamePrefix
- String
- continuationToken
- String
Header to pass the continuationToken
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetTestLogsForBuildAsync(String, Int32, TestLogType, String, String, Nullable<Boolean>, Nullable<Int32>, String, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestLog>> GetTestLogsForBuildAsync(string project, int buildId, Microsoft.TeamFoundation.TestManagement.WebApi.TestLogType type, string directoryPath = null, string fileNamePrefix = null, Nullable<bool> fetchMetaData = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestLogsForBuildAsync : string * int * Microsoft.TeamFoundation.TestManagement.WebApi.TestLogType * string * string * Nullable<bool> * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestLog>>
override this.GetTestLogsForBuildAsync : string * int * Microsoft.TeamFoundation.TestManagement.WebApi.TestLogType * string * string * Nullable<bool> * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestLog>>
Parameters
- project
- String
Project ID or project name
- buildId
- Int32
- type
- TestLogType
- directoryPath
- String
- fileNamePrefix
- String
- continuationToken
- String
Header to pass the continuationToken
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.