[This documentation is preliminary and is subject to change.]
Invoked when the application is launched. Override this method to perform application initialization and to display initial content in the associated Window.
Syntax
Parameters
- args
-
Type: LaunchActivatedEventArgs
Event data for the event.
Remarks
Override the OnLaunched method to perform any general app initialization that should occur only when the user launches your app normally (for example, by tapping the app tile). For info on other kinds of activation, see OnActivated.
The starting project templates include a basic implementation for OnLaunched. The implementation sets the initial root visual for the application by setting Window.Current.Content to a new instance of the class defined by the project template's MainPage XAML/code-behind pair.
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 5/22/2012
