Edit

TestCompatHttpClientBase.DeleteTestVariableAsync Method

Definition

Overloads

DeleteTestVariableAsync(Guid, Int32, Object, CancellationToken)
Obsolete.

[Preview API] Delete a test variable by its ID.

DeleteTestVariableAsync(String, Int32, Object, CancellationToken)
Obsolete.

[Preview API] Delete a test variable by its ID.

DeleteTestVariableAsync(Guid, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Delete a test variable by its ID.

[System.Obsolete]
public virtual System.Threading.Tasks.Task DeleteTestVariableAsync(Guid project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteTestVariableAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteTestVariableAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

testVariableId
Int32

ID of the test variable to delete.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

DeleteTestVariableAsync(String, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Delete a test variable by its ID.

[System.Obsolete]
public virtual System.Threading.Tasks.Task DeleteTestVariableAsync(string project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteTestVariableAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteTestVariableAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
String

Project ID or project name

testVariableId
Int32

ID of the test variable to delete.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to