ShutdownMode Enumeration
Defines how an application shuts down.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public enum ShutdownMode
Members
Member name | Description | |
---|---|---|
OnExplicitShutdown | A value that causes the application to shut down when your program explicitly calls the Application.Shutdown method. | |
OnLastWindowClose | A value that causes the application to shut down when the last window closes or when your program explicitly calls the Application.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 Application.Shutdown method. |
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.