Represents an execution loop in the Dispatcher.
Assembly: WindowsBase (in WindowsBase.dll)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
objects typically fall into two categories:
Long running, general purpose frames that exit only when instructed to. These frames should exit when they are requested.
Short running, very specific frames that exit when an important criteria is met. These frames may consider not to exit when they are requested in favor of waiting for their exit criteria to be met. These frames should have a time-out associated with them.
You cannot use this managed class in XAML.
Legacy Code Example
The following example shows how to use a DoEvents method.to achieve similar results as the Windows Forms Code snippet is not found. Confirm that the code snippet name 'dispatchersnippets' is correct.
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.