DashboardHttpClientBase.CreateDashboardAsync 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] Create the supplied dashboard.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.Dashboard> CreateDashboardAsync(Microsoft.TeamFoundation.Dashboards.WebApi.Dashboard dashboard, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateDashboardAsync : Microsoft.TeamFoundation.Dashboards.WebApi.Dashboard * Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.Dashboard>
override this.CreateDashboardAsync : Microsoft.TeamFoundation.Dashboards.WebApi.Dashboard * Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.Dashboard>
Parameters
- dashboard
- Dashboard
The initial state of the dashboard
- teamContext
- TeamContext
The team context for the operation
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.