Share via


MockAdlsClient.EnumerateDeletedItems Method

Definition

Search trash under a account with hint and a starting point. This is a long running operation, and user is updated with progress periodically.

public override System.Collections.Generic.IEnumerable<Microsoft.Azure.DataLake.Store.TrashEntry> EnumerateDeletedItems (string hint, string listAfter, int numResults, IProgress<Microsoft.Azure.DataLake.Store.EnumerateDeletedItemsProgress> progressTracker, System.Threading.CancellationToken cancelToken = default);
override this.EnumerateDeletedItems : string * string * int * IProgress<Microsoft.Azure.DataLake.Store.EnumerateDeletedItemsProgress> * System.Threading.CancellationToken -> seq<Microsoft.Azure.DataLake.Store.TrashEntry>
Public Overrides Function EnumerateDeletedItems (hint As String, listAfter As String, numResults As Integer, progressTracker As IProgress(Of EnumerateDeletedItemsProgress), Optional cancelToken As CancellationToken = Nothing) As IEnumerable(Of TrashEntry)

Parameters

hint
String

String to match

listAfter
String

Token returned by system in the previous API invocation

numResults
Int32

Search is executed until we find numResults or search completes. Maximum allowed value for this param is 4000. The number of returned entries could be more or less than numResults

progressTracker
IProgress<EnumerateDeletedItemsProgress>

Object to track progress of the task. Can be null

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

Applies to