Partager via


LoadResult Constructor (Uri)

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

Initializes a new instance of the LoadResult class and sets the RedirectUri property to the specified object.

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

Syntax

'Declaration
Public Sub New ( _
    redirectUri As Uri _
)
public LoadResult(
    Uri redirectUri
)

Parameters

  • redirectUri
    Type: System.Uri
    The URI to redirect navigation to.

Remarks

Typically, you will not use this method directly unless you implement the INavigationContentLoader interface or implement an alternative to the Silverlight navigation system.

The Silverlight navigation system will automatically attempt to load the redirectUri without adding an entry in the navigation journal.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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