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)

Syntax

Public Sub New ( _
    uri As Uri, _
    mode As NavigationMode _
)
public NavigatingCancelEventArgs(
    Uri uri,
    NavigationMode mode
)

Parameters

  • uri
    Type: System..::.Uri
    The uniform resource identifier (URI) for the content that is being navigated to.

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

NavigatingCancelEventArgs Class

NavigatingCancelEventArgs Overload

System.Windows.Navigation Namespace