共用方式為


CoreApplication.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) 

事件類型

備註

Windows Phone 8

只有原生應用程式才支援此 API。

適用於