ObservableSettingsListBase<TValue>.PurgeIfNecessaryAsync Method

Definition

Removes a fixed number of the least-accessed values to keep the underlying ISettingsList from growing indefinitely.

protected virtual System.Threading.Tasks.Task<bool> PurgeIfNecessaryAsync (object state, System.Threading.CancellationToken cancellationToken = default);

Parameters

state
Object
cancellationToken
CancellationToken

Returns

Applies to