Edit

TestHttpClientBase.GetResultParametersAsync Method

Definition

Overloads

GetResultParametersAsync(Guid, Int32, Int32, Int32, String, Object, CancellationToken)

[Preview API] Get a list of parameterized results

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

Parameters

project
Guid

Project ID

runId
Int32

ID of the test run that contains the result.

testCaseResultId
Int32

ID of the test result that contains the iterations.

iterationId
Int32

ID of the iteration that contains the parameterized results.

paramName
String

Name of the parameter.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetResultParametersAsync(String, Int32, Int32, Int32, String, Object, CancellationToken)

[Preview API] Get a list of parameterized results

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

Parameters

project
String

Project ID or project name

runId
Int32

ID of the test run that contains the result.

testCaseResultId
Int32

ID of the test result that contains the iterations.

iterationId
Int32

ID of the iteration that contains the parameterized results.

paramName
String

Name of the parameter.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to