WindowsApp.Views.SelectGateway.NavigationHelper_SaveState C# (CSharp) Method

NavigationHelper_SaveState() private method

Preserves state associated with this page in case the application is suspended or the page is discarded from the navigation cache. Values must conform to the serialization requirements of SuspensionManager.SessionState.
private NavigationHelper_SaveState ( object sender, SaveStateEventArgs e ) : void
sender object The source of the event; typically .
e WindowsApp.Common.SaveStateEventArgs Event data that provides an empty dictionary to be populated with /// serializable state.
return void
        private void NavigationHelper_SaveState(object sender, SaveStateEventArgs e)
        {
            // TODO: Save the unique state of the page here.
        }