CosmosDbStorage.WriteAsync(IDictionary<String,Object>, CancellationToken) CosmosDbStorage.WriteAsync(IDictionary<String,Object>, CancellationToken) Method

Definition

Writes storage items to storage.

public System.Threading.Tasks.Task WriteAsync (System.Collections.Generic.IDictionary<string,object> changes, System.Threading.CancellationToken cancellationToken);
abstract member WriteAsync : System.Collections.Generic.IDictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.WriteAsync : System.Collections.Generic.IDictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

changes
IDictionary<String,Object>

The items to write to storage, indexed by key.

cancellationToken
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