ISettingsList.ClearAsync(Object) Method
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.
Removes all elements from the list.
public System.Threading.Tasks.Task ClearAsync (object state = default);
abstract member ClearAsync : obj -> System.Threading.Tasks.Task
Public Function ClearAsync (Optional state As Object = Nothing) As Task
- state
- Object
A caller-specified object that will be exposed on change events.
Returns Task.
Thrown when the value cannot be persisted to the private store (for example, because the disk is full).
This method is safe to access from any thread.