Partager via


ObservableSettingsListBase<TValue>.SuspendUpdatesAsync Method

Definition

Suspends sending updates to any subscribed observers. This is useful in case multiple changes are made to the list cause it keeps the list from pushing updates to subscribers every single time a change is made. Any updates made to the underlying list during suspension will cause an up-to-date copy to be pushed to subscribers as soon as suspensions are disposed of.

public:
 virtual System::Threading::Tasks::Task<IDisposable ^> ^ SuspendUpdatesAsync();
public virtual System.Threading.Tasks.Task<IDisposable> SuspendUpdatesAsync ();
abstract member SuspendUpdatesAsync : unit -> System.Threading.Tasks.Task<IDisposable>
override this.SuspendUpdatesAsync : unit -> System.Threading.Tasks.Task<IDisposable>
Public Overridable Function SuspendUpdatesAsync () As Task(Of IDisposable)

Returns

Applies to