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.

NavigatingCancelEventArgs::WebRequest Property

 

Gets the WebRequest object that is used to request the specified content.

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

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

Property Value

Type: System.Net::WebRequest^

Gets the System.Net::WebRequest object that is used to request the specified content.

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:

You can both view and modify WebRequest details.

WebRequest is null when navigation occurs by:

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