Synced
IApplicationStorage.WriteAsync
Section titled “IApplicationStorage.WriteAsync”
- Atomically replaces a complete value.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Storage
Declaration
Section titled “Declaration”System.Threading.Tasks.ValueTask Inno.Storage.IApplicationStorage.WriteAsync(Inno.Storage.StorageKey key, System.ReadOnlyMemory<byte> value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter key: The sandbox-relative storage key.
Parameter value: The complete value to commit.
Parameter cancellationToken: Cancellation requested by the caller.
Returns
Section titled “Returns”A task that completes after the value is durably replaced.