DispatcherQueueHandler DispatcherQueueHandler DispatcherQueueHandler DispatcherQueueHandler Delegate

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
A callback that will be executed on the DispatcherQueue thread.

public : delegate void DispatcherQueueHandler()public delegate void DispatcherQueueHandler()Public Delegate DispatcherQueueHandler()// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Examples

Windows.System.DispatcherQueueHandler handler = () =>

                                {

                                    // code for DispatcherQueue to run

                                };