TestResultsHttpClientBase.GetTestResultLogsAsync 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
GetTestResultLogsAsync(Guid, Int32, 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>> GetTestResultLogsAsync(Guid project, int runId, int resultId, 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 GetTestResultLogsAsync : Guid * int * 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.GetTestResultLogsAsync : Guid * int * 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
- runId
- Int32
- resultId
- 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
GetTestResultLogsAsync(String, Int32, 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>> GetTestResultLogsAsync(string project, int runId, int resultId, 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 GetTestResultLogsAsync : string * int * 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.GetTestResultLogsAsync : string * int * 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
- runId
- Int32
- resultId
- Int32
- type
- TestLogType
- directoryPath
- String
- fileNamePrefix
- String
- continuationToken
- String
Header to pass the continuationToken
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.