CoreApplication.Resuming Evento
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Ocorre quando um aplicativo está sendo retomado.
// Register
static event_token Resuming(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void Resuming(event_token const* cookie) const;
// Revoke with event_revoker
static CoreApplication::Resuming_revoker Resuming(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
C#
public static event System.EventHandler<object> Resuming;
function onResuming(eventArgs) { /* Your code */ }
Windows.ApplicationModel.Core.CoreApplication.addEventListener("resuming", onResuming);
Windows.ApplicationModel.Core.CoreApplication.removeEventListener("resuming", onResuming);
- or -
Windows.ApplicationModel.Core.CoreApplication.onresuming = onResuming;
Public Shared Custom Event Resuming As EventHandler(Of Object)
Essa API tem suporte apenas em aplicativos nativos.
Produto | Versões |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |