Edit

Share via


WorkItemTrackingHttpClientBase.ExportWorkItemTypeDefinitionAsync Method

Definition

Overloads

ExportWorkItemTypeDefinitionAsync(String, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Export work item type

ExportWorkItemTypeDefinitionAsync(Guid, String, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Export work item type

ExportWorkItemTypeDefinitionAsync(String, String, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Export work item type

ExportWorkItemTypeDefinitionAsync(String, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Export work item type

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate> ExportWorkItemTypeDefinitionAsync (string type = null, Nullable<bool> exportGlobalLists = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ExportWorkItemTypeDefinitionAsync : string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate>
override this.ExportWorkItemTypeDefinitionAsync : string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate>

Parameters

type
String
exportGlobalLists
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

ExportWorkItemTypeDefinitionAsync(Guid, String, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Export work item type

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate> ExportWorkItemTypeDefinitionAsync (Guid project, string type = null, Nullable<bool> exportGlobalLists = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ExportWorkItemTypeDefinitionAsync : Guid * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate>
override this.ExportWorkItemTypeDefinitionAsync : Guid * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate>

Parameters

project
Guid

Project ID

type
String
exportGlobalLists
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

ExportWorkItemTypeDefinitionAsync(String, String, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Export work item type

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate> ExportWorkItemTypeDefinitionAsync (string project, string type = null, Nullable<bool> exportGlobalLists = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ExportWorkItemTypeDefinitionAsync : string * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate>
override this.ExportWorkItemTypeDefinitionAsync : string * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeTemplate>

Parameters

project
String

Project ID or project name

type
String
exportGlobalLists
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to