Edit

TestResultsHttpClientBase.GetBugsLinkedToTestResultAsync Method

Definition

Overloads

GetBugsLinkedToTestResultAsync(String, Int32, Int32, Object, CancellationToken)

[Preview API]

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

Parameters

project
String

Project ID or project name

runId
Int32
testCaseResultId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetBugsLinkedToTestResultAsync(Guid, Int32, Int32, Object, CancellationToken)

[Preview API]

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

Parameters

project
Guid

Project ID

runId
Int32
testCaseResultId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to