Dela via


CoreApplication.Resuming Event

Definition

Occurs when an app is resuming.

// 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;
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) 

Event Type

Remarks

Windows Phone 8

This API is supported in native apps only.

Applies to