This documentation is archived and is not being maintained.

NavigationFailedEventArgs.WebRequest Property

Gets the web request that was used to request the specified content.

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

public WebRequest WebRequest { get; }
/** @property */
public WebRequest get_WebRequest ()

public function get WebRequest () : WebRequest

Members of this class are either not typically used in XAML, or cannot be used in XAML.

Property Value

Gets the System.Net.WebRequest object that was used to request the specified content. If navigating to an object, WebRequest is a null reference (Nothing in Visual Basic).

System.Net.WebRequest is an abstract base class that encapsulates a web request, and is protocol agnostic. For each common protocol, the .NET Framework 3.0 includes a class that derives from System.Net.WebRequest and extends it with protocol-specific state and behavior, including:

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