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 the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Dispatcher Class
Dispatcher Members
Microsoft.SPOT Namespace