C# 클래스 AudioGraphBackgroundPlayback.App

Provides application-specific behavior to supplement the default Application class.
상속: Windows.UI.Xaml.Application
파일 보기 프로젝트 열기: Myfreedom614/UWP-Samples

공개 메소드들

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

CreateRootFrame ( ApplicationExecutionState previousExecutionState, string arguments ) : void

Creates the frame containing the view

This is the same code that was in OnLaunched() initially. It is moved to a separate method so the view can be restored when leaving the background if it was unloaded when the app entered the background.

OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

보호된 메소드들

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

비공개 메소드들

메소드 설명
App_EnteredBackground ( object sender, EnteredBackgroundEventArgs e ) : void

The application entered the background.

App_LeavingBackground ( object sender, LeavingBackgroundEventArgs e ) : void

The application is leaving the background.

App_Resuming ( object sender, object e ) : void

Invoked when application execution is resumed.

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

Construct ( ) : void

Called from App.xaml.cs when the application is constructed.

메소드 상세

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

CreateRootFrame() 공개 메소드

Creates the frame containing the view
This is the same code that was in OnLaunched() initially. It is moved to a separate method so the view can be restored when leaving the background if it was unloaded when the app entered the background.
public CreateRootFrame ( ApplicationExecutionState previousExecutionState, string arguments ) : void
previousExecutionState ApplicationExecutionState
arguments string
리턴 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

OnNavigationFailed() 공개 메소드

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
리턴 void