WeakEventManager.ScheduleCleanup Method


Requests that a purge of unused entries in the underlying listener list be performed on a lower priority thread.

 void ScheduleCleanup();
protected void ScheduleCleanup ();
member this.ScheduleCleanup : unit -> unit
Protected Sub ScheduleCleanup ()


Calling the ScheduleCleanup method is similar to calling the Purge method on the current manager's list, at lower thread priority, with the purgeAll parameter set to false.

Applies to

See also