Megosztás a következőn keresztül:


WebUIShareTargetActivatedEventArgs Class

Definition

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

public ref class WebUIShareTargetActivatedEventArgs sealed : IShareTargetActivatedEventArgs, IActivatedEventArgsDeferral
public ref class WebUIShareTargetActivatedEventArgs sealed : IActivatedEventArgsWithUser, IShareTargetActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIShareTargetActivatedEventArgs final : IShareTargetActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIShareTargetActivatedEventArgs final : IActivatedEventArgsWithUser, IShareTargetActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUIShareTargetActivatedEventArgs : IShareTargetActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUIShareTargetActivatedEventArgs : IActivatedEventArgsWithUser, IShareTargetActivatedEventArgs, IActivatedEventArgsDeferral
Public NotInheritable Class WebUIShareTargetActivatedEventArgs
Implements IActivatedEventArgsDeferral, IShareTargetActivatedEventArgs
Public NotInheritable Class WebUIShareTargetActivatedEventArgs
Implements IActivatedEventArgsDeferral, IActivatedEventArgsWithUser, IShareTargetActivatedEventArgs
Inheritance
Object Platform::Object IInspectable WebUIShareTargetActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This object is accessed when you implement an event handler for the WinJS.Application.Onactivated or the Windows.UI.WebUI.WebUIApplication.activated events when ActivationKind is shareTarget.

Note

This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Version history

Windows version SDK version Value added
1607 14393 User

Properties

ActivatedOperation

Gets the app activated operation.

Kind

Gets the activation type.

PreviousExecutionState

Gets the execution state of the app before it was activated.

ShareOperation

Gets information about data included in a share operation.

SplashScreen

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

User

Gets the user that the app was activated for.

Applies to