AudioGraphBackgroundPlayback.App.OnLaunched C# (CSharp) Method

OnLaunched() protected method

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.
return void
        protected override void OnLaunched(LaunchActivatedEventArgs e)
        {
            #if DEBUG
            if (System.Diagnostics.Debugger.IsAttached)
            {
                this.DebugSettings.EnableFrameRateCounter = false;
            }
            #endif
            CreateRootFrame(e.PreviousExecutionState, e.Arguments);

            // Ensure the current window is active
            Window.Current.Activate();
        }