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);

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

.NET Framework 4.8.1 およびその他のバージョン
製品 バージョン
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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);

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

.NET Framework 4.8.1 およびその他のバージョン
製品 バージョン
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1