C# Class ChatterBox.Client.Universal.App

Provides application-specific behavior to supplement the default Application class.
Afficher le fichier Open project: openpeer/ChatterBox

Méthodes publiques

Méthode Description
App ( ) : ChatterBox.Client.Common.Avatars

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

ShowDialog ( string message ) : void
UnRegisterAllBackgroundTask ( ) : void

Méthodes protégées

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

OnWindowCreated ( WindowCreatedEventArgs args ) : void

Private Methods

Méthode Description
App_OnDisconnectedFromHub ( ) : void
ConnectHubClient ( ) : void
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

OnOrientationChanged ( Windows sender, object args ) : void
OnResuming ( object sender, object 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.

ProcessLaunchArgument ( ToastNotificationLaunchArguments launchArg ) : void
QuitApp ( ) : void
RegisterForDisplayOrientationChange ( ) : void
RegisterForPush ( TaskHelper helper, bool registerAgain = true ) : System.Threading.Tasks.Task
RegisterSessionConnectedTask ( TaskHelper helper ) : Task
RegisterSignalingTask ( TaskHelper helper, bool registerAgain = true ) : Task
Resume ( ) : 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 ( ) : ChatterBox.Client.Common.Avatars
Résultat ChatterBox.Client.Common.Avatars

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

OnWindowCreated() protected méthode

protected OnWindowCreated ( WindowCreatedEventArgs args ) : void
args WindowCreatedEventArgs
Résultat void

ShowDialog() public méthode

public ShowDialog ( string message ) : void
message string
Résultat void

UnRegisterAllBackgroundTask() public méthode

public UnRegisterAllBackgroundTask ( ) : void
Résultat void