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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

Microsoft.SPOT Namespace