Language

DashboardHttpClientBase.GetWidgetMetadataAsync Method

Definition

Overloads

Name Description
GetWidgetMetadataAsync(String, String, Object, CancellationToken)

[Preview API] Get the widget metadata satisfying the specified contribution ID.

GetWidgetMetadataAsync(String, Object, CancellationToken)

[Preview API] Get the widget metadata satisfying the specified contribution ID.

GetWidgetMetadataAsync(Guid, String, Object, CancellationToken)

[Preview API] Get the widget metadata satisfying the specified contribution ID.

GetWidgetMetadataAsync(String, String, Object, CancellationToken)

[Preview API] Get the widget metadata satisfying the specified contribution ID.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse> GetWidgetMetadataAsync(string project, string contributionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWidgetMetadataAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse>
override this.GetWidgetMetadataAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse>

Parameters

project
String

Project ID or project name

contributionId
String

The ID of Contribution for the Widget

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetWidgetMetadataAsync(String, Object, CancellationToken)

[Preview API] Get the widget metadata satisfying the specified contribution ID.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse> GetWidgetMetadataAsync(string contributionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWidgetMetadataAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse>
override this.GetWidgetMetadataAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse>

Parameters

contributionId
String

The ID of Contribution for the Widget

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetWidgetMetadataAsync(Guid, String, Object, CancellationToken)

[Preview API] Get the widget metadata satisfying the specified contribution ID.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse> GetWidgetMetadataAsync(Guid project, string contributionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWidgetMetadataAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse>
override this.GetWidgetMetadataAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Dashboards.WebApi.WidgetMetadataResponse>

Parameters

project
Guid

Project ID

contributionId
String

The ID of Contribution for the Widget

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to