Edit

Share via


WorkItemTrackingHttpClientCompatBase.GetDeletedWorkItemsAsync Method

Definition

Overloads

GetDeletedWorkItemsAsync(Object, CancellationToken)
Obsolete.

[Preview API]

GetDeletedWorkItemsAsync(Guid, Object, CancellationToken)
Obsolete.

[Preview API]

GetDeletedWorkItemsAsync(String, Object, CancellationToken)
Obsolete.

[Preview API]

GetDeletedWorkItemsAsync(Object, CancellationToken)

Caution

This method is not supported anymore. Please use Task<List<WorkItemDeleteShallowReference>> GetDeletedWorkItemReferencesAsync(object userState, CancellationToken cancellationToken) instead.

[Preview API]

[System.Obsolete("This method is not supported anymore. Please use Task<List<WorkItemDeleteShallowReference>> GetDeletedWorkItemReferencesAsync(object userState, CancellationToken cancellationToken) instead.", false)]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>> GetDeletedWorkItemsAsync (object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetDeletedWorkItemsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>>
override this.GetDeletedWorkItemsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>>

Parameters

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetDeletedWorkItemsAsync(Guid, Object, CancellationToken)

Caution

This method is not supported anymore. Please use Task<List<WorkItemDeleteShallowReference>> GetDeletedWorkItemReferencesAsync(Guid project, object userState, CancellationToken cancellationToken) instead.

[Preview API]

[System.Obsolete("This method is not supported anymore. Please use Task<List<WorkItemDeleteShallowReference>> GetDeletedWorkItemReferencesAsync(Guid project, object userState, CancellationToken cancellationToken) instead.", false)]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>> GetDeletedWorkItemsAsync (Guid project, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetDeletedWorkItemsAsync : Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>>
override this.GetDeletedWorkItemsAsync : Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>>

Parameters

project
Guid

Project ID

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetDeletedWorkItemsAsync(String, Object, CancellationToken)

Caution

This method is not supported anymore. Please use Task<List<WorkItemDeleteShallowReference>> GetDeletedWorkItemReferencesAsync(string project, object userState, CancellationToken cancellationToken) instead.

[Preview API]

[System.Obsolete("This method is not supported anymore. Please use Task<List<WorkItemDeleteShallowReference>> GetDeletedWorkItemReferencesAsync(string project, object userState, CancellationToken cancellationToken) instead.", false)]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>> GetDeletedWorkItemsAsync (string project, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetDeletedWorkItemsAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemDeleteReference>>
override this.GetDeletedWorkItemsAsync : string * 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

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to