On Share Target Activated(ShareTargetActivatedEventArgs) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked when the application is activated through sharing association.
protected: virtual void OnShareTargetActivated(ShareTargetActivatedEventArgs ^ args) = OnShareTargetActivated;
void OnShareTargetActivated(ShareTargetActivatedEventArgs const& args);
protected virtual void OnShareTargetActivated(ShareTargetActivatedEventArgs args);
Protected Overridable Sub OnShareTargetActivated (args As ShareTargetActivatedEventArgs)
Event data for the event.
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.
Submit and view feedback for