Edit

Share via


BuildHttpClientBase.DeleteTemplateAsync Method

Definition

Overloads

DeleteTemplateAsync(Guid, String, Object, CancellationToken)

[Preview API] Deletes a build definition template.

DeleteTemplateAsync(String, String, Object, CancellationToken)

[Preview API] Deletes a build definition template.

DeleteTemplateAsync(Guid, String, Object, CancellationToken)

[Preview API] Deletes a build definition template.

public virtual System.Threading.Tasks.Task DeleteTemplateAsync (Guid project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteTemplateAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteTemplateAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

templateId
String

The ID of the template.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeleteTemplateAsync(String, String, Object, CancellationToken)

[Preview API] Deletes a build definition template.

public virtual System.Threading.Tasks.Task DeleteTemplateAsync (string project, string templateId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteTemplateAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteTemplateAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
String

Project ID or project name

templateId
String

The ID of the template.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to