C# 클래스 PhotoSharingApp.Universal.App

Share target extensions for the app.
상속: Windows.UI.Xaml.Application
파일 보기 프로젝트 열기: Microsoft/Appsample-Photosharing

공개 메소드들

메소드 설명
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