Jaa


WebUIApplication.Resuming Event

Definition

Occurs when the app is resuming.

public:
 static event ResumingEventHandler ^ Resuming;
// Register
static event_token Resuming(ResumingEventHandler const& handler) const;

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

// Revoke with event_revoker
static WebUIApplication::Resuming_revoker Resuming(auto_revoke_t, ResumingEventHandler const& handler) const;
public static event ResumingEventHandler Resuming;
function onResuming(eventArgs) { /* Your code */ }
Windows.UI.WebUI.WebUIApplication.addEventListener("resuming", onResuming);
Windows.UI.WebUI.WebUIApplication.removeEventListener("resuming", onResuming);
- or -
Windows.UI.WebUI.WebUIApplication.onresuming = onResuming;
Public Shared Custom Event Resuming As ResumingEventHandler 

Event Type

Remarks

The system suspends your app whenever the user switches to another app or to the desktop. The system resumes your app whenever the user switches back to it. When the system resumes your app, the content of your variables and data structures is the same as it was before the system suspended the app. The system restores the app exactly where it left off, so that it appears to the user as if it's been running in the background. However, the app may have been suspended for a significant amount of time, so it should refresh any displayed content that might have changed while the app was suspended, such as news feeds or the user's location. If your app doesn't have any displayed content to refresh, there's no need for it to handle the resuming event.

Applies to

See also