Synced
IApplicationStorage.ReadAsync
Section titled “IApplicationStorage.ReadAsync”
- Reads a complete immutable value.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Storage
Scope: Runtime
Declaration
Section titled “Declaration”System.Threading.Tasks.ValueTask<byte[]?> InnoEngine.Storage.IApplicationStorage.ReadAsync(InnoEngine.Storage.StorageKey key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter key: The sandbox-relative storage key.
Parameter cancellationToken: Cancellation requested by the caller.
Returns
Section titled “Returns”The stored bytes, or null when the key does not exist.