Share via


Dispatcher.InvokeShutdown Method

Initiates the shutdown process for a Dispatcher object (dispatcher) synchronously.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public void InvokeShutdown ()

Remarks

When a program starts shutting down a Dispatcher object (a dispatcher), the ShutdownStarted event is raised and the HasShutdownStarted property is set to true. The dispatcher does not shut down completely until its event queue unwinds. When the dispatcher finishes shutting down, it raises the ShutdownFinished event and sets the HasShutdownFinished property to true.

A synchronous operation is one that must complete before the function ends. In an asynchronous operation, the function can end before the operation is complete.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Dispatcher Class
Dispatcher Members
Microsoft.SPOT Namespace