C# Class WindowsApp.Views.NetworkError

An empty page that can be used on its own or navigated to within a Frame.
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: MSRCCS/AppSuite Class Usage Examples

Méthodes publiques

Méthode Description
NetworkError ( ) : System

Constructor

SetError ( String errorString ) : void

sets the error message to be displayed

Méthodes protégées

Méthode Description
OnNavigatedFrom ( NavigationEventArgs e ) : void

Invoked when this page is about to be exited.

OnNavigatedTo ( NavigationEventArgs e ) : void

Invoked when this page is about to be displayed in a Frame.

Private Methods

Méthode Description
NavigationHelper_LoadState ( object sender, LoadStateEventArgs e ) : void

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.

NavigationHelper_SaveState ( object sender, SaveStateEventArgs e ) : void

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.

returnHome_Click ( object sender, RoutedEventArgs e ) : void

Method Details

NetworkError() public méthode

Constructor
public NetworkError ( ) : System
Résultat System

OnNavigatedFrom() protected méthode

Invoked when this page is about to be exited.
protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Event data that describes how this page was exited.
Résultat void

OnNavigatedTo() protected méthode

Invoked when this page is about to be displayed in a Frame.
protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Event data that describes how this page was reached. /// This parameter is typically used to configure the page.
Résultat void

SetError() public static méthode

sets the error message to be displayed
public static SetError ( String errorString ) : void
errorString String an exception or error thrown by the app
Résultat void