TestCompatHttpClientBase.UpdateTestVariableAsync 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
| UpdateTestVariableAsync(TestVariable, Guid, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Update a test variable by its ID. |
| UpdateTestVariableAsync(TestVariable, String, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Update a test variable by its ID. |
UpdateTestVariableAsync(TestVariable, Guid, Int32, Object, CancellationToken)
Caution
This API is now deprecated.
[Preview API] Update a test variable by its ID.
[System.Obsolete]
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
ID of the test variable to update.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
UpdateTestVariableAsync(TestVariable, String, Int32, Object, CancellationToken)
Caution
This API is now deprecated.
[Preview API] Update a test variable by its ID.
[System.Obsolete]
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
ID of the test variable to update.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes