CoreApplication.Exiting CoreApplication.Exiting CoreApplication.Exiting CoreApplication.Exiting Event

Definition

Occurs when the app is shutting down.

public : event EventHandler<Platform::Object> Exiting
// Register
event_token Exiting(EventHandler<Platform::Object> const& handler) const;

// Revoke with event_token
void Exiting(event_token const& cookie) const;

// Revoke with event_revoker
Exiting_revoker Exiting(auto_revoke_t, EventHandler<Platform::Object> const& handler) const;
public event EventHandler<object> Exiting
Public Event Exiting As EventHandler (Of object)

Remarks

Windows Phone 8

This API is supported in native apps only.