ShutdownStarted Event

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Occurs when a dispatcher begins the shutdown process.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Event ShutdownStarted As EventHandler
public event EventHandler ShutdownStarted
public:
 event EventHandler^ ShutdownStarted {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
member ShutdownStarted : IEvent<EventHandler,
    EventArgs>
JScript does not support events.

Remarks

When a program starts shutting down a Dispatcher object, 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.

.NET Framework Security

See Also

Reference

Dispatcher Class

Microsoft.SPOT Namespace