| DispatcherExtensionsRunIdle Method |
Runs the handler in parallel at idle priority without capturing the task.
Namespace: Microsoft.IoT.DeviceCoreAssembly: Microsoft.IoT.DeviceCore (in Microsoft.IoT.DeviceCore.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void RunIdle(
this CoreDispatcher dispatcher,
DispatchedHandler handler
)
<ExtensionAttribute>
Public Shared Sub RunIdle (
dispatcher As CoreDispatcher,
handler As DispatchedHandler
)
public:
[ExtensionAttribute]
static void RunIdle(
[InAttribute] CoreDispatcher^ dispatcher,
[InAttribute] DispatchedHandler^ handler
)
[<ExtensionAttribute>]
static member RunIdle :
dispatcher : CoreDispatcher *
handler : DispatchedHandler -> unit
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