Dispatcher.PushFrame Method (DispatcherFrame)
Enters an execute loop.
Assembly: WindowsBase (in WindowsBase.dll)
A DispatcherFrame represents a loop that processes pending work items.
The Dispatcher processes the work item queue in a loop. The loop is referred to as a frame. The initial loop is typically initiated by the application by calling Run.
DispatcherFrame allows for the Continue property to be set explicitly and it respects the HasShutdownStarted property on the Dispatcher. This means when the Dispatcher starts to shut down, frames that use the default DispatcherFrame implementation will exit, which enables all nested frames to exit.
Available since 3.0