Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Atomically replaces a complete value.

API: engine
Project: Inno.Storage

System.Threading.Tasks.ValueTask Inno.Storage.IApplicationStorage.WriteAsync(Inno.Storage.StorageKey key, System.ReadOnlyMemory<byte> value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter key: The sandbox-relative storage key.

Parameter value: The complete value to commit.

Parameter cancellationToken: Cancellation requested by the caller.

A task that completes after the value is durably replaced.