C# Класс CSharpAnalytics.Sample.WindowsStore.App

Provides application-specific behavior to supplement the default Application class.
Показать файл Открыть проект

Открытые методы

Метод Описание
App ( ) : CSharpAnalytics.Protocols.Measurement

Initializes the singleton Application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

Защищенные методы

Метод Описание
OnLaunched ( LaunchActivatedEventArgs args ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.

OnWindowCreated ( WindowCreatedEventArgs args ) : void

Fires when the Window is created and you should sign up for charm notifications.

Приватные методы

Метод Описание
OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

SettingsCommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void

Used to tell the settings pane what to display. Normally includes options, privacy policy etc.

Описание методов

App() публичный Метод

Initializes the singleton Application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( ) : CSharpAnalytics.Protocols.Measurement
Результат CSharpAnalytics.Protocols.Measurement

OnLaunched() защищенный Метод

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.
protected OnLaunched ( LaunchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
Результат void

OnWindowCreated() защищенный Метод

Fires when the Window is created and you should sign up for charm notifications.
protected OnWindowCreated ( WindowCreatedEventArgs args ) : void
args WindowCreatedEventArgs Arguments relating to which window was created.
Результат void