C# Класс TestApp.App

Provides application-specific behavior to supplement the default Application class.
Наследование: Application
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
App ( ) : System

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().

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.

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

Метод Описание
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.

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

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 ( ) : System
Результат System

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

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

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.
public OnSuspending ( object sender, SuspendingEventArgs e ) : void
sender object The source of the suspend request.
e Windows.ApplicationModel.SuspendingEventArgs Details about the suspend request.
Результат void