ITestResultsHttpClient.CreateTestRunAsync 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
| CreateTestRunAsync(RunCreateModel, Guid, Object, CancellationToken) | |
| CreateTestRunAsync(RunCreateModel, String, Object, CancellationToken) |
CreateTestRunAsync(RunCreateModel, Guid, Object, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun> CreateTestRunAsync(Microsoft.TeamFoundation.TestManagement.WebApi.RunCreateModel testRun, Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestRunAsync : Microsoft.TeamFoundation.TestManagement.WebApi.RunCreateModel * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
Parameters
- testRun
- RunCreateModel
- project
- Guid
- userState
- Object
- cancellationToken
- CancellationToken
Returns
Applies to
CreateTestRunAsync(RunCreateModel, String, Object, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun> CreateTestRunAsync(Microsoft.TeamFoundation.TestManagement.WebApi.RunCreateModel testRun, string project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestRunAsync : Microsoft.TeamFoundation.TestManagement.WebApi.RunCreateModel * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
Parameters
- testRun
- RunCreateModel
- project
- String
- userState
- Object
- cancellationToken
- CancellationToken