ApplicationInitializationCallbackParams 类

定义

表示为自定义初始化序列传递信息的对象。

public ref class ApplicationInitializationCallbackParams sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ApplicationInitializationCallbackParams final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ApplicationInitializationCallbackParams final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ApplicationInitializationCallbackParams
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ApplicationInitializationCallbackParams
Public NotInheritable Class ApplicationInitializationCallbackParams
继承
Object Platform::Object IInspectable ApplicationInitializationCallbackParams
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

在 Windows 10 及更高版本中,此类是密封的。

以前版本的说明

Windows 8

应用程序子类 都存在并且入口点 Start 调用调整为传递信息的情况下,应从此类派生,以便为自定义初始化序列传递信息。

此类用作 ApplicationInitializationCallback 实现的自定义信息源。 基本 ApplicationInitializationCallbackParams 没有任何唯一成员。 子类应添加初始化信息所需的任何成员。

适用于

另请参阅