ISettingsList.ClearAsync(Object) Method

Definition

Removes all elements from the list.

public System.Threading.Tasks.Task ClearAsync (object state = default);

Parameters

state
Object

A caller-specified object that will be exposed on change events.

Returns

Returns Task.

Exceptions

Thrown when the value cannot be persisted to the private store (for example, because the disk is full).

Remarks

This method is safe to access from any thread.

Applies to