C# Класс PhotoSharingApp.Universal.App

Share target extensions for the app.
Наследование: Windows.UI.Xaml.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().

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

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

Invoked when the application is activated by some means other than normal launching.

OnLaunched ( LaunchActivatedEventArgs e ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.

OnShareTargetActivated ( ShareTargetActivatedEventArgs args ) : void

Invoked when the application is activated through sharing association.

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

Метод Описание
GetOrCreateRootFrame ( ) : Frame
GoldReceivedNotificationClickedHandler ( IActivatedEventArgs args ) : void

Navigate to the Photo details page for which the Gold was received.

Initialize ( ) : Task

Initialize the App launch.

OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

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.

OnUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void

Invoked when the app runs into an unhandled exception. Telemetry logs the unhandled exception and appropriate message is displayed to the user experiencing the exception.

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

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

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

Invoked when the application is activated by some means other than normal launching.
protected OnActivated ( IActivatedEventArgs args ) : void
args IActivatedEventArgs Event data for the event.
Результат void

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

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

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

Invoked when the application is activated through sharing association.
protected OnShareTargetActivated ( ShareTargetActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs Event data for the event.
Результат void