Windows apps
Collapse the table of content
Expand the table of content
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.

NavigationFailedEventArgs::WebResponse Property

 

Gets the web response that was returned after attempting to download the requested the specified content.

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

public:
property WebResponse^ WebResponse {
	WebResponse^ get();
}

Property Value

Type: System.Net::WebResponse^

The System.Net::WebResponse that was returned after attempting to download the requested the specified content. If the navigation failed, WebResponse is null.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft