Partilhar via


NavigatingCancelEventArgs Constructor (Uri, NavigationMode, Boolean, Boolean)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Initializes a new instance of the NavigatingCancelEventArgs class, setting all initial property values.

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

Syntax

'Declaration
Public Sub New ( _
    uri As Uri, _
    mode As NavigationMode, _
    isCancelable As Boolean, _
    isNavigationInitiator As Boolean _
)
public NavigatingCancelEventArgs(
    Uri uri,
    NavigationMode mode,
    bool isCancelable,
    bool isNavigationInitiator
)

Parameters

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

Remarks

Version Notes

Silverlight for the desktop

Do not use for a Silverlight for the desktop application.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.