ShareTargetActivatedEventArgs class

This topic has not yet been rated - Rate this topic

Provides information for an application that is a target for share operations.

JavaScript:  This type appears as WebUIShareTargetActivatedEventArgs.

Syntax


public sealed class ShareTargetActivatedEventArgs : Object,
    IShareTargetActivatedEventArgs,
    IActivatedEventArgs

Attributes

MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

Members

The ShareTargetActivatedEventArgs class has these types of members:

Methods

The ShareTargetActivatedEventArgs class inherits methods from the Object class.

Properties

The ShareTargetActivatedEventArgs class has these properties.

PropertyAccess typeDescription

Kind

Read-onlyGets the activation type.

PreviousExecutionState

Read-onlyGets the execution state of the app before it was activated.

ShareOperation

Read-onlyGets information about data included in a share operation.

SplashScreen

Read-onlyGets the splash screen object which provides information about the transition from the splash screen to the activated app.

 

Remarks

This object is accessed when you implement an event handler to respond to Activated events when ActivationKind is ShareTarget.

Windows Store apps built for Windows using C++, C#, or Visual Basic typically implement activation points by overriding methods of the Application object. The default template app.xaml code-behind files always include an override for OnLaunched, but defining overrides for other activation points such as OnShareTargetActivated is up to your app code.

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

For example code, see Share target activation sample.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.Activation
Windows::ApplicationModel::Activation [C++]

Metadata

Windows.winmd

See also

Windows.UI.Core.CoreApplicationView.Activated
Share target activation sample

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.