Language

DashboardHttpClientBase.GetDashboardsAsync Method

Definition

[Preview API] Get a list of dashboards.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.DashboardGroup> GetDashboardsAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDashboardsAsync : Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.DashboardGroup>
override this.GetDashboardsAsync : 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