Bearbeiten

Freigeben über


TaskAgentHttpClientBase.UndeleteTaskGroupAsync Method

Definition

Overloads

UndeleteTaskGroupAsync(Guid, TaskGroup, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup>> UndeleteTaskGroupAsync(Guid project, Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup taskGroup, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UndeleteTaskGroupAsync : Guid * Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup>>
override this.UndeleteTaskGroupAsync : Guid * Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup>>

Parameters

project
Guid

Project ID

taskGroup
TaskGroup
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UndeleteTaskGroupAsync(String, TaskGroup, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup>> UndeleteTaskGroupAsync(string project, Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup taskGroup, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UndeleteTaskGroupAsync : string * Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup>>
override this.UndeleteTaskGroupAsync : string * Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskGroup>>

Parameters

project
String

Project ID or project name

taskGroup
TaskGroup
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to