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.



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


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