Synced
StorageRuntime.DeleteAsync
Section titled “StorageRuntime.DeleteAsync”
- Deletes one value without failing when it is already absent.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Storage.Runtime
Declaration
Section titled “Declaration”public System.Threading.Tasks.ValueTask<bool> Inno.Storage.Runtime.StorageRuntime.DeleteAsync(Inno.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”true when an existing value was deleted.