Class RegionNavigationFailedEventArgs
EventArgs used with the NavigationFailed event.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class RegionNavigationFailedEventArgs : EventArgs
Constructors
View SourceRegionNavigationFailedEventArgs(NavigationContext)
Initializes a new instance of the RegionNavigationEventArgs class.
Declaration
public RegionNavigationFailedEventArgs(NavigationContext navigationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| NavigationContext | navigationContext | The navigation context. |
RegionNavigationFailedEventArgs(NavigationContext, Exception)
Initializes a new instance of the RegionNavigationFailedEventArgs class.
Declaration
public RegionNavigationFailedEventArgs(NavigationContext navigationContext, Exception error)
Parameters
| Type | Name | Description |
|---|---|---|
| NavigationContext | navigationContext | The navigation context. |
| Exception | error | The error. |
Properties
View SourceError
Gets the error.
Declaration
public Exception Error { get; }
Property Value
| Type | Description |
|---|---|
| Exception | The Exception, or null if the failure was not caused by an exception. |
NavigationContext
Gets the navigation context.
Declaration
public NavigationContext NavigationContext { get; }
Property Value
| Type | Description |
|---|---|
| NavigationContext | The navigation context. |
Uri
Gets the navigation URI
Declaration
public Uri Uri { get; }
Property Value
| Type | Description |
|---|---|
| Uri | The URI. |
Remarks
This is a convenience accessor around NavigationContext.Uri.