Application.OnBackgroundActivated(BackgroundActivatedEventArgs) 方法

定義

在背景中啟動應用程式時叫用。

protected:
 virtual void OnBackgroundActivated(BackgroundActivatedEventArgs ^ args) = OnBackgroundActivated;
void OnBackgroundActivated(BackgroundActivatedEventArgs const& args);
protected virtual void OnBackgroundActivated(BackgroundActivatedEventArgs args);
function onBackgroundActivated(args)
Protected Overridable Sub OnBackgroundActivated (args As BackgroundActivatedEventArgs)

參數

args
BackgroundActivatedEventArgs

背景啟用的相關資料。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於