Edit

TestHttpClientBase.GetTestRunLogsAsync Method

Definition

Overloads

GetTestRunLogsAsync(Guid, Int32, Object, CancellationToken)

[Preview API] Get test run message logs

GetTestRunLogsAsync(String, Int32, Object, CancellationToken)

[Preview API] Get test run message logs

GetTestRunLogsAsync(Guid, Int32, Object, CancellationToken)

[Preview API] Get test run message logs

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestMessageLogDetails>> GetTestRunLogsAsync(Guid project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunLogsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestMessageLogDetails>>
override this.GetTestRunLogsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestMessageLogDetails>>

Parameters

project
Guid

Project ID

runId
Int32

ID of the run to get.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTestRunLogsAsync(String, Int32, Object, CancellationToken)

[Preview API] Get test run message logs

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestMessageLogDetails>> GetTestRunLogsAsync(string project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunLogsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestMessageLogDetails>>
override this.GetTestRunLogsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestMessageLogDetails>>

Parameters

project
String

Project ID or project name

runId
Int32

ID of the run to get.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to