NavigationFailedEventArgs.WebRequest Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

public WebRequest WebRequest { get; }

Property Value

Type: System.Net.WebRequest

Gets the System.Net.WebRequest object that was used to request the specified content. If navigating to an object, WebRequest is null.

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

.NET Framework
Available since 3.0
Return to top