C# Class Edi.UWP.Helpers.SampleApp.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
Afficher le fichier Open project: EdiWang/UWP-Helpers

Méthodes publiques

Méthode Description
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().

OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

Méthodes protégées

Méthode Description
OnActivated ( IActivatedEventArgs args ) : void
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.

Private Methods

Méthode Description
OnBackRequested ( object sender, BackRequestedEventArgs e ) : void
OnNavigated ( object sender, NavigationEventArgs e ) : void
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, Windows e ) : void
RegisterExceptionHandlingSynchronizationContext ( ) : void

Should be called from OnActivated and OnLaunched

SynchronizationContext_UnhandledException ( object sender, Edi e ) : void

Method Details

App() public méthode

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
Résultat System

OnActivated() protected méthode

protected OnActivated ( IActivatedEventArgs args ) : void
args IActivatedEventArgs
Résultat void

OnLaunched() protected méthode

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.
Résultat void

OnNavigationFailed() public méthode

Invoked when Navigation to a certain page fails
public OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void
sender object The Frame which failed navigation
e Windows.UI.Xaml.Navigation.NavigationFailedEventArgs Details about the navigation failure
Résultat void