ObservableSettingsListBase<TValue>.SuspendUpdatesAsync 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.
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)