TestHttpClientBase.DeleteTestCaseAsync 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
| DeleteTestCaseAsync(Guid, Int32, Object, CancellationToken) |
[Preview API] Delete a test case. |
| DeleteTestCaseAsync(String, Int32, Object, CancellationToken) |
[Preview API] Delete a test case. |
DeleteTestCaseAsync(Guid, Int32, Object, CancellationToken)
[Preview API] Delete a test case.
public virtual System.Threading.Tasks.Task DeleteTestCaseAsync(Guid project, int testCaseId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteTestCaseAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteTestCaseAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- project
- Guid
Project ID
- testCaseId
- Int32
Id of test case to delete.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
DeleteTestCaseAsync(String, Int32, Object, CancellationToken)
[Preview API] Delete a test case.
public virtual System.Threading.Tasks.Task DeleteTestCaseAsync(string project, int testCaseId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteTestCaseAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteTestCaseAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- project
- String
Project ID or project name
- testCaseId
- Int32
Id of test case to delete.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.