Shutdown Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Causes an application to exit.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub Shutdown
public void Shutdown()
public:
void Shutdown()
member Shutdown : unit -> unit
public function Shutdown()
Remarks
When the Shutdown method is called, it triggers an Exit event. Your event handler can process the Exit event to detect when an application is about to stop running. At that time, the event handler performs any necessary processing.
.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.