Click or drag to resize
DispatcherExtensionsRun Method
Runs the handler in parallel at normal priority without capturing the task.

Namespace: Microsoft.IoT.DeviceCore
Assembly: Microsoft.IoT.DeviceCore (in Microsoft.IoT.DeviceCore.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void Run(
	this CoreDispatcher dispatcher,
	DispatchedHandler handler
)

Parameters

dispatcher
Type: Windows.UI.CoreCoreDispatcher
The CoreDispatcher that will run the handler.
handler
Type: Windows.UI.CoreDispatchedHandler
The handler to run.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CoreDispatcher. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also