DashboardHttpClientBase.ReplaceDashboardsAsync 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.
[Preview API] Update the name and position of dashboards in the supplied group, and remove omitted dashboards. Does not modify dashboard content.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.DashboardGroup> ReplaceDashboardsAsync(Microsoft.TeamFoundation.Dashboards.WebApi.DashboardGroup group, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ReplaceDashboardsAsync : Microsoft.TeamFoundation.Dashboards.WebApi.DashboardGroup * Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.DashboardGroup>
override this.ReplaceDashboardsAsync : Microsoft.TeamFoundation.Dashboards.WebApi.DashboardGroup * Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.DashboardGroup>
Parameters
- group
- DashboardGroup
- teamContext
- TeamContext
The team context for the operation
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.