Language

DashboardHttpClientBase.ReplaceDashboardsAsync Method

Definition

[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

teamContext
TeamContext

The team context for the operation

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to