Edit

Share via


BuildHttpClientBase.DeleteFolderAsync Method

Definition

Overloads

DeleteFolderAsync(Guid, String, Object, CancellationToken)

[Preview API] Deletes a definition folder. Definitions and their corresponding builds will also be deleted.

DeleteFolderAsync(String, String, Object, CancellationToken)

[Preview API] Deletes a definition folder. Definitions and their corresponding builds will also be deleted.

DeleteFolderAsync(Guid, String, Object, CancellationToken)

[Preview API] Deletes a definition folder. Definitions and their corresponding builds will also be deleted.

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

Parameters

project
Guid

Project ID

path
String

The full path to the folder.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeleteFolderAsync(String, String, Object, CancellationToken)

[Preview API] Deletes a definition folder. Definitions and their corresponding builds will also be deleted.

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

Parameters

project
String

Project ID or project name

path
String

The full path to the folder.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to