Sys.Net.WebRequest invoke Method
Executes a Web request.
If you have registered a completed request event handler for the Sys.Net.WebRequest instance, that handler is called asynchronously by the network stack as the request progresses. Calling invoke more than one time for the same WebRequest instance throws an exception if the executor has already issued the network request.
The following example uses the invoke method to execute a Web request. This code is part of a complete example found in the WebRequest class overview.
// Execute the request.