Jaa


MemoryStorage.ReadAsync(String[], CancellationToken) Method

Definition

Reads storage items from storage.

public System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string,object>> ReadAsync (string[] keys, System.Threading.CancellationToken cancellationToken);
abstract member ReadAsync : string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string, obj>>
override this.ReadAsync : string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string, obj>>
Public Function ReadAsync (keys As String(), cancellationToken As CancellationToken) As Task(Of IDictionary(Of String, Object))

Parameters

keys
String[]

keys of the IStoreItem objects to read.

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

Remarks

If the activities are successfully sent, the task result contains the items read, indexed by key.

Applies to

See also