CoreApplication.Exiting Event

Occurs when the app is shutting down.

Syntax

public:
static event EventHandler<Object^ >^ Exiting {
         EventRegistrationToken add (EventHandler<Object^ >^ value);
         void remove (EventRegistrationToken token);
}  

Requirements

Namespace: Windows.ApplicationModel.Core

Metadata: windows.winmd

See also

Reference

CoreApplication Class

CoreApplication Members

Windows.ApplicationModel.Core Namespace