TestCompatHttpClientBase.GetTestRunByIdAsync 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
| GetTestRunByIdAsync(Guid, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Get a test run by its ID. |
| GetTestRunByIdAsync(String, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Get a test run by its ID. |
GetTestRunByIdAsync(Guid, Int32, Object, CancellationToken)
Caution
This API is now deprecated.
[Preview API] Get a test run by its ID.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun> GetTestRunByIdAsync(Guid project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunByIdAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
override this.GetTestRunByIdAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
Parameters
- project
- Guid
Project ID
- runId
- Int32
ID of the run to get.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
GetTestRunByIdAsync(String, Int32, Object, CancellationToken)
Caution
This API is now deprecated.
[Preview API] Get a test run by its ID.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun> GetTestRunByIdAsync(string project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunByIdAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
override this.GetTestRunByIdAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
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
- Attributes