Muokkaa

Jaa


HttpWebClientProtocol.GetWebResponse Method

Definition

Returns a response from a request to an XML Web service method.

Overloads

GetWebResponse(WebRequest)

Returns a response from a synchronous request to an XML Web service method.

GetWebResponse(WebRequest, IAsyncResult)

Returns a response from an asynchronous request to an XML Web service method.

GetWebResponse(WebRequest)

Returns a response from a synchronous request to an XML Web service method.

protected:
 override System::Net::WebResponse ^ GetWebResponse(System::Net::WebRequest ^ request);
protected override System.Net.WebResponse GetWebResponse (System.Net.WebRequest request);
override this.GetWebResponse : System.Net.WebRequest -> System.Net.WebResponse
Protected Overrides Function GetWebResponse (request As WebRequest) As WebResponse

Parameters

request
WebRequest

The WebRequest from which to get the response.

Returns

A response from a synchronous request to an XML Web service method.

Applies to

GetWebResponse(WebRequest, IAsyncResult)

Returns a response from an asynchronous request to an XML Web service method.

protected:
 override System::Net::WebResponse ^ GetWebResponse(System::Net::WebRequest ^ request, IAsyncResult ^ result);
protected override System.Net.WebResponse GetWebResponse (System.Net.WebRequest request, IAsyncResult result);
override this.GetWebResponse : System.Net.WebRequest * IAsyncResult -> System.Net.WebResponse
Protected Overrides Function GetWebResponse (request As WebRequest, result As IAsyncResult) As WebResponse

Parameters

request
WebRequest

The WebRequest from which to get the response.

result
IAsyncResult

The IAsyncResult to pass to EndGetResponse(IAsyncResult) when the response has completed.

Returns

A response from an asynchronous request to an XML Web service method.

Applies to