Client. Enumerate Deleted Items(String, String, Int32, IProgress<EnumerateDeletedItemsProgress>, CancellationToken) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Search trash under a account with hint and a starting point. This is a long running operation, and user is updated with progress periodically. Caution: Undeleting files is a best effort operation. There are no guarantees that a file can be restored once it is deleted. The use of this API is enabled via whitelisting. If your ADL account is not whitelisted, then using this api will throw Not immplemented exception. For further information and assistance please contact Microsoft support.
public virtual 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);
abstract member EnumerateDeletedItems : string * string * int * IProgress<Microsoft.Azure.DataLake.Store.EnumerateDeletedItemsProgress> * System.Threading.CancellationToken -> seq<Microsoft.Azure.DataLake.Store.TrashEntry> override this.EnumerateDeletedItems : string * string * int * IProgress<Microsoft.Azure.DataLake.Store.EnumerateDeletedItemsProgress> * System.Threading.CancellationToken -> seq<Microsoft.Azure.DataLake.Store.TrashEntry>
Public Overridable 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)
String to match
Token returned by system in the previous API invocation
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
Object to track progress of the task. Can be null
CancellationToken to cancel the request