System::Web::Services::Protocols::WebClientProtocol class

WebClientProtocol class

This base class is used in all XML Web service client proxies that were created using ASP.NET. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class WebClientProtocol : public virtual System::Object

Methods

MethodDescription
virtual Abort()Cancels the request.
get_ConnectionGroupName()Gets the name of the connection group.
get_Credentials()Gets the authentication information.
get_PreAuthenticate()Gets a value that indicates if pre-authentication is enabled.
get_RequestEncoding()Gets the encoding that is used to make the client requests.
get_Timeout()Gets the timespan to wait before the request times out.
get_Uri()Gets the XML Web service URI.
get_Url()Gets the XML Web service URL.
get_UseDefaultCredentials()Gets a value that indicates if the ‘Credential’ property is equal to the ‘DefaultCredentials’ property.
set_ConnectionGroupName(String)Sets the name of the connection group.
set_Credentials(System::SharedPtr<Net::ICredentials>)Sets the authentication information.
set_PreAuthenticate(bool)Sets a value that indicates if pre-authentication is enabled.
set_RequestEncoding(System::SharedPtr<Text::Encoding>)Sets the encoding that is used to make the client requests.
set_Timeout(int32_t)Sets the timespan to wait before the request times out.
set_Uri(System::SharedPtr<Uri>)Sets the XML Web service URI.
set_Url(String)Sets the XML Web service URL.
set_UseDefaultCredentials(bool)Sets a value that indicates if the ‘Credential’ property is equal to the ‘DefaultCredentials’ property.

See Also