Creates a System.Net.WebRequest instance for the specified URI.
- uri
- The Uri to use when creating the System.Net.WebRequest.
The System.Net.WebRequest instance.
This method overrides the base version of WebClientProtocol.GetWebRequest(Uri) to specify that the HTTP request to the XML Web service is made using HTTP-GET. By overriding this method, additional customizations can be made to the System.Net.WebRequest object before the XML Web service request is made. For example you could add a custom header to the request.