TestPlanHttpClientBase.UpdateTestConfigurationAsync 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
UpdateTestConfigurationAsync(TestConfigurationCreateUpdateParameters, Guid, Int32, Object, CancellationToken) |
[Preview API] Update a test configuration by its ID. |
UpdateTestConfigurationAsync(TestConfigurationCreateUpdateParameters, String, Int32, Object, CancellationToken) |
[Preview API] Update a test configuration by its ID. |
UpdateTestConfigurationAsync(TestConfigurationCreateUpdateParameters, Guid, Int32, Object, CancellationToken)
[Preview API] Update a test configuration by its ID.
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration> UpdateTestConfigurationAsync (Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, Guid project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestConfigurationAsync : Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>
override this.UpdateTestConfigurationAsync : Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>
Parameters
- testConfigurationCreateUpdateParameters
- TestConfigurationCreateUpdateParameters
- project
- Guid
Project ID
- testConfiguartionId
- Int32
ID of the test configuration to update.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
UpdateTestConfigurationAsync(TestConfigurationCreateUpdateParameters, String, Int32, Object, CancellationToken)
[Preview API] Update a test configuration by its ID.
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration> UpdateTestConfigurationAsync (Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters testConfigurationCreateUpdateParameters, string project, int testConfiguartionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestConfigurationAsync : Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>
override this.UpdateTestConfigurationAsync : Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfigurationCreateUpdateParameters * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>
Parameters
- testConfigurationCreateUpdateParameters
- TestConfigurationCreateUpdateParameters
- project
- String
Project ID or project name
- testConfiguartionId
- Int32
ID of the test configuration to update.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for