Dela via


Application.OnBackgroundActivated(BackgroundActivatedEventArgs) Method

Definition

Invoked when the application is activated in the background.

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)

Parameters

args
BackgroundActivatedEventArgs

Data about the background activation.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to