Edit

Share via


WorkItemTrackingHttpClientBase.GetDeletedWorkItemsAsync Method

Definition

Overloads

GetDeletedWorkItemsAsync(IEnumerable<Int32>, Object, CancellationToken)

[Preview API] Gets the work items from the recycle bin, whose IDs have been specified in the parameters

GetDeletedWorkItemsAsync(Guid, IEnumerable<Int32>, Object, CancellationToken)

[Preview API] Gets the work items from the recycle bin, whose IDs have been specified in the parameters

GetDeletedWorkItemsAsync(String, IEnumerable<Int32>, Object, CancellationToken)

[Preview API] Gets the work items from the recycle bin, whose IDs have been specified in the parameters

GetDeletedWorkItemsAsync(IEnumerable<Int32>, Object, CancellationToken)

[Preview API] Gets the work items from the recycle bin, whose IDs have been specified in the parameters

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>> GetDeletedWorkItemsAsync (System.Collections.Generic.IEnumerable<int> ids, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetDeletedWorkItemsAsync : seq<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>>

Parameters

ids
IEnumerable<Int32>

Comma separated list of IDs of the deleted work items to be returned

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDeletedWorkItemsAsync(Guid, IEnumerable<Int32>, Object, CancellationToken)

[Preview API] Gets the work items from the recycle bin, whose IDs have been specified in the parameters

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>> GetDeletedWorkItemsAsync (Guid project, System.Collections.Generic.IEnumerable<int> ids, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetDeletedWorkItemsAsync : Guid * seq<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>>

Parameters

project
Guid

Project ID

ids
IEnumerable<Int32>

Comma separated list of IDs of the deleted work items to be returned

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDeletedWorkItemsAsync(String, IEnumerable<Int32>, Object, CancellationToken)

[Preview API] Gets the work items from the recycle bin, whose IDs have been specified in the parameters

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>> GetDeletedWorkItemsAsync (string project, System.Collections.Generic.IEnumerable<int> ids, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetDeletedWorkItemsAsync : string * seq<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>>

Parameters

project
String

Project ID or project name

ids
IEnumerable<Int32>

Comma separated list of IDs of the deleted work items to be returned

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to