Language

TaskAgentHttpClientBase.DeleteTaskGroupAsync Method

Definition

Overloads

DeleteTaskGroupAsync(Guid, Guid, String, Object, CancellationToken)

[Preview API] Delete a task group.

public virtual System.Threading.Tasks.Task DeleteTaskGroupAsync(Guid project, Guid taskGroupId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.DeleteTaskGroupAsync : Guid * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

taskGroupId
Guid

Id of the task group to be deleted.

comment
String

Comments to delete.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeleteTaskGroupAsync(String, Guid, String, Object, CancellationToken)

[Preview API] Delete a task group.

public virtual System.Threading.Tasks.Task DeleteTaskGroupAsync(string project, Guid taskGroupId, string comment = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.DeleteTaskGroupAsync : string * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
String

Project ID or project name

taskGroupId
Guid

Id of the task group to be deleted.

comment
String

Comments to delete.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to