WeakEventManager.ScheduleCleanup Method ()


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

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

protected void 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.

.NET Framework
Available since 3.0
Return to top