Application.Start(ApplicationInitializationCallback) Method

Definition

Provides the entry point and requests initialization of the application. Use the specified ApplicationInitializationCallback to instantiate the Application class.

C#
public static void Start(ApplicationInitializationCallback callback);

Parameters

callback
ApplicationInitializationCallback

The callback that should be invoked during the initialization sequence.

Remarks

This runs a message pump internally, and does not return until the application shuts down.

Typically, you do not need to call this method directly. For example, in Visual Studio, the build system generates code that makes the call.

The callback runs in the same thread as the main view.

Applies to

Proizvod Verzije
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6