AppActivationArguments 类

定义

包含有关使用 ActivationRegistrationManager 类的静态方法之一注册的应用激活的类型和数据有效负载的信息。

public ref class AppActivationArguments sealed
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Version(1)]
class AppActivationArguments final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppLifecycle.AppLifecycleContract, 65536)]
class AppActivationArguments final
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class AppActivationArguments
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppLifecycle.AppLifecycleContract), 65536)]
public sealed class AppActivationArguments
Public NotInheritable Class AppActivationArguments
继承
Object Platform::Object IInspectable AppActivationArguments
属性

注解

触发注册激活时,此类的实例将传递给 AppInstance 类的 Activated 事件的事件处理程序。 或者,应用可以调用 AppInstance 类的 GetActivatedEventArgs 来获取此类的实例。

属性

Data

获取已注册激活的数据有效负载。

Kind

获取已注册激活的类型。

适用于

另请参阅