Edit

TestHttpClientBase.UpdateTestVariableAsync Method

Definition

Overloads

UpdateTestVariableAsync(TestVariable, Guid, Int32, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable> UpdateTestVariableAsync(Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable testVariable, Guid project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestVariableAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable>
override this.UpdateTestVariableAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable>

Parameters

testVariable
TestVariable
project
Guid

Project ID

testVariableId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateTestVariableAsync(TestVariable, String, Int32, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable> UpdateTestVariableAsync(Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable testVariable, string project, int testVariableId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestVariableAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable>
override this.UpdateTestVariableAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestVariable>

Parameters

testVariable
TestVariable
project
String

Project ID or project name

testVariableId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to