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 中引入)

适用于