NavigatingCancelEventArgs Constructor (Uri, NavigationMode)
Collapse the table of content
Expand the table of content

NavigatingCancelEventArgs Constructor (Uri, NavigationMode)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the NavigatingCancelEventArgs class, based on URI and mode.

Namespace:  System.Windows.Navigation
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Sub New ( _
	uri As Uri, _
	mode As NavigationMode _
)

Parameters

uri
Type: System.Uri
The uniform resource identifier (URI) for the content that is being navigated to.
mode
Type: System.Windows.Navigation.NavigationMode
A value that indicates the type of navigation that is occurring.

The uri and mode parameters initialize the Uri and NavigationMode properties.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft