共用方式為


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 沒有任何唯一的成員。 您的子類別應該新增初始化資訊所需的任何成員。

適用於

另請參閱