Share via


Sys.Net.NetworkRequestEventArgs webRequest Property

Gets the Web request to be routed to the current Sys.Net.WebRequestExecutor instance.

var webRequest = netWorkEventArgs.get_webRequest();

Remarks

Use this property to inspect the contents of a Web request before it is routed to the current instance of the Sys.Net.WebRequestExecutor class. You can access the Web request instance from the handler that is called before the request is routed. This event handler is added by using the add_invokingRequest method.

See Also

Reference

Sys.Net.WebRequestExecutor Class

Sys.Net.WebRequest Class

Sys.Net.WebRequestManager Class