System.Web.Services.Protocols.WebClientProtocol Members

The members of System.Web.Services.Protocols.WebClientProtocol are listed below.

See Also: Inherited members from System.ComponentModel.Component

Protected Constructors

Initializes a new instance of the System.Web.Services.Protocols.WebClientProtocol class.

Public Properties

ConnectionGroupNamestring.

Gets or sets the name of the connection group for the request.

CredentialsSystem.Net.ICredentials.

Gets or sets security credentials for XML Web service client authentication.

PreAuthenticatebool.

Gets or sets whether pre-authentication is enabled.

RequestEncodingSystem.Text.Encoding.

The System.Text.Encoding used to make the client request to the XML Web service.

Timeoutint.

Indicates the time an XML Web service client waits for the reply to a synchronous XML Web service request to arrive (in milliseconds).

Urlstring.

Gets or sets the base URL of the XML Web service the client is requesting.

UseDefaultCredentialsbool.

Gets or sets a value that indicates whether to set the WebClientProtocol.Credentials property to the value of the System.Net.CredentialCache.DefaultCredentials property.

Public Methods

Abort()

Cancels a request to an XML Web service method.

Protected Methods

static
AddToCache(Type, object)

Add an instance of the client protocol handler to the cache.

static
GetFromCache(Type) : object

Gets an instance of a client protocol handler from the cache.

GetWebRequest(Uri) : System.Net.WebRequest

Creates a System.Net.WebRequest instance for the specified uri. This protected method is called by the XML Web service client infrastructure to get a new System.Net.WebRequest transport object to transmit the XML Web service request.

GetWebResponse(System.Net.WebRequest) : System.Net.WebResponse

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

GetWebResponse(System.Net.WebRequest, IAsyncResult) : System.Net.WebResponse

Returns a response from an asynchronous request to an XML Web service method. This protected method is called by the XML Web service client infrastructure to get the response from an asynchronous XML Web service request.