WebClientProtocol.GetWebResponse Method (WebRequest)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

abstract GetWebResponse : 
        request:WebRequest -> WebResponse
override GetWebResponse : 
        request:WebRequest -> WebResponse

Parameters

request
Type: System.Net.WebRequest

The WebRequest to get the response from.

Return Value

Type: System.Net.WebResponse

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

Exception Condition
WebException

If Abort is invoked prior to calling GetWebResponse.

.NET Framework
Available since 1.1
Return to top
Show: