Condividi tramite


CoreApplication.Exiting Evento

Definizione

Si verifica quando l'app viene arrestata.

// Register
static event_token Exiting(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void Exiting(event_token const* cookie) const;

// Revoke with event_revoker
static CoreApplication::Exiting_revoker Exiting(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> Exiting;
function onExiting(eventArgs) { /* Your code */ }
Windows.ApplicationModel.Core.CoreApplication.addEventListener("exiting", onExiting);
Windows.ApplicationModel.Core.CoreApplication.removeEventListener("exiting", onExiting);
- or -
Windows.ApplicationModel.Core.CoreApplication.onexiting = onExiting;
Public Shared Custom Event Exiting As EventHandler(Of Object) 

Tipo evento

Commenti

Windows Phone 8

Questa API è supportata solo nelle app native.

Si applica a