Occurs when the view is activated.
public:
event TypedEventHandler<CoreApplicationView^ , IActivatedEventArgs^ >^ Activated {
EventRegistrationToken add (TypedEventHandler<CoreApplicationView^ , IActivatedEventArgs^ >^ value);
void remove (EventRegistrationToken token);
}
The type of the class being passed in as the IActivatedEventArgs arument is dependent on the ActivationKind of the activation event. For example the Launch ActivationKind indicates an LaunchActivatedEventArgs instance.
void ApplicationView::OnActivated(CoreApplicationView^ applicationView, IActivatedEventArgs^ args)
{
if (args->Kind == ActivationKind::Launch)
{
LaunchActivatedEventArgs ^launchArgs = (LaunchActivatedEventArgs ^) args;
...
}
...
}
Namespace: Windows.ApplicationModel.Core
Metadata: windows.winmd
White Papers - Process Lifetime Management for Xbox One
Windows.ApplicationModel.Core Namespace
CoreApplication.Resuming Event