ShutdownMode Enumeration
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines how an application shuts down.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Enumeration ShutdownMode
public enum ShutdownMode
public enum class ShutdownMode
type ShutdownMode
public enum ShutdownMode
Members
Member name | Description | |
---|---|---|
OnLastWindowClose | A value that causes the application to shut down when the last window closes or when your program explicitly calls the Shutdown method. Note that this is the default setting. | |
OnMainWindowClose | A value that causes the application to shut down when the main window closes or when your program explicitly calls the Shutdown method. | |
OnExplicitShutdown | A value that causes the application to shut down when your program explicitly calls the Shutdown method. |