Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

NavigationService.Navigate Method (Uri, Object, Boolean)

Navigate asynchronously to source content located at a uniform resource identifier (URI), pass an object containing navigation state for processing during navigation, and sandbox the content.

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

public bool Navigate (
	Uri source,
	Object navigationState,
	bool sandboxExternalContent
)
public boolean Navigate (
	Uri source, 
	Object navigationState, 
	boolean sandboxExternalContent
)
public function Navigate (
	source : Uri, 
	navigationState : Object, 
	sandboxExternalContent : boolean
) : boolean
You cannot use methods in XAML.

Parameters

source
navigationState

A Object that contains data to be used for processing during navigation.

sandboxExternalContent

Download content into a partial trust security sandbox (with the default Internet zone set of permissions, if true. The default value is false.

Return Value

A Boolean value that is set to true if a navigation is not canceled; otherwise, false.

This method is only for standalone applications and Extensible Application Markup Language (XAML) content.

This method exhibits the same behavior as NavigationService.Navigate, and extends it by ensuring that the content that is being downloaded is placed into a partial trust security sandbox (with the default Internet zone set of permissions - see Windows Presentation Foundation Partial Trust Security).

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.