Share via


MemoryStorage.DeleteAsync(String[], CancellationToken) Method

Definition

Deletes storage items from storage.

public System.Threading.Tasks.Task DeleteAsync (string[] keys, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteAsync : string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteAsync (keys As String(), cancellationToken As CancellationToken) As Task

Parameters

keys
String[]

keys of the IStoreItem objects to delete.

cancellationToken
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

A task that represents the work queued to execute.

Implements

Applies to

See also