Udostępnij za pośrednictwem


ApplicationInitializationCallbackParams Class

Definition

Represents an object to pass information for a custom initialization sequence.

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
Inheritance
Object Platform::Object IInspectable ApplicationInitializationCallbackParams
Attributes

Windows requirements

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

Remarks

In Windows 10 and later, this class is sealed.

Notes for previous versions

Windows 8

You should derive from this class in order to pass information for a custom initialization sequence, in cases where both an Application subclass is present and the entry point Start call is adjusted to pass the information.

This class is used as a custom information source for an ApplicationInitializationCallback implementation. The basic ApplicationInitializationCallbackParams does not have any unique members. Your subclass should add any members you need for initialization information.

Applies to

See also