IAsyncStringStorage Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores and retrieves strings. Used as an abstraction over the settings service in the hub and unit-test mocks.
public interface class IAsyncStringStorage : System::ComponentModel::INotifyPropertyChanged
public interface IAsyncStringStorage : System.ComponentModel.INotifyPropertyChanged
type IAsyncStringStorage = interface
interface INotifyPropertyChanged
Public Interface IAsyncStringStorage
Implements INotifyPropertyChanged
- Implements
Methods
ClearAsync() | |
ClearAsync(CancellationToken) |
Only used by tests. Does not fire change events. |
DeleteIfExistsAsync(String, CancellationToken) | |
DeleteIfExistsAsync(String) | |
GetAllSinceVersionAsync(Int32, CancellationToken) | |
GetAllSinceVersionAsync(Int32) | |
GetAsync(String, CancellationToken) | |
GetAsync(String) | |
GetStoreIdentityAsync(CancellationToken) |
Gets the unique ID for the settings store, which is randomly generated whenever the store is recreated. |
SetAsync(NamedVersionedString, CancellationToken) |
Creates or changes a setting value. The value provided will replace the existing value only if |
SetAsync(NamedVersionedString) |
Events
PropertyChangedAsync | |
StoreUpdated |
Indicates the store has been updated, but what specific values may have changed is unknown. Clients maintaining cached copies of data should refetch in this case. |