Edit

TestResultsHttpClientBase.GetTestResultLogsAsync Method

Definition

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
directoryPath
String
fileNamePrefix
String
fetchMetaData
Nullable<Boolean>
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
directoryPath
String
fileNamePrefix
String
fetchMetaData
Nullable<Boolean>
continuationToken
String

Header to pass the continuationToken

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to