InvokeShutdown Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initiates the shutdown process for a dispatcher synchronously.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub InvokeShutdown
public void InvokeShutdown()
public:
void InvokeShutdown()
member InvokeShutdown : unit -> unit
public function InvokeShutdown()
Remarks
When a program starts shutting down 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.