Edit

Share via


WorkItemTrackingHttpClientBase.DeleteTemplateAsync Method

Definition

[Preview API] Deletes the template with given id

public virtual System.Threading.Tasks.Task DeleteTemplateAsync (Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, Guid templateId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteTemplateAsync : Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteTemplateAsync : Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

teamContext
TeamContext

The team context for the operation

templateId
Guid

Template id

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to