Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.3 KB

application_onsharetargetactivated_169511293.md

File metadata and controls

32 lines (22 loc) · 1.3 KB
-api-id -api-type
M:Windows.UI.Xaml.Application.OnShareTargetActivated(Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs)
winrt method

Windows.UI.Xaml.Application.OnShareTargetActivated

-description

Invoked when the application is activated through sharing association.

-parameters

-param args

Event data for the event.

-remarks

All Application overrides involved in an activation scenario should call Window.Activate in their implementations.

For example code, see Share target activation sample.

Notes for previous versions

Windows 8.x If your app is running when it is activated as a Share target, the existing instance of your app is terminated and a new instance of your app is launched to handle the contract.

-examples

-see-also

ShareOperation, Share target activation sample