System.Web.Services
1.0.5000.0
2.0.0.0
Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.
System.ComponentModel.Component
The properties of the class are used to control the behavior of the transport used to transmit the XML Web service request and response. The properties on this class map to properties found on . Instances of classes deriving from , such as , are used as the transport mechanism for XML Web services created using ASP.NET.
To communicate with an XML Web service, you must create a proxy class deriving indirectly or directly from for the XML Web service you want to call. Instead of creating the proxy class manually, you can use the Wsdl.exe tool to create a proxy class for a given XML Web service's service description. Since is the base class for your client proxy, you will find its properties on your proxy classes. These properties are useful for controlling the request behavior of the underlying transport. For instance, use the property for calling authenticated XML Web services. Many of the properties are used to initialize the object that is used to make the Web request.
Specifies the base class for all XML Web service client proxies created using ASP.NET.
Constructor
To be added
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added
Cancels a request to an XML Web service method.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added
Add an instance of the client protocol handler to the cache.
The of the client protocol handler..
The client protocol handler to be added to the cache.
1.0.5000.0
2.0.0.0
Property
System.String
To be added: an object of type 'string'
The property enables you to associate a request to a connection group. For more details, see .
Gets or sets the name of the connection group for the request.
1.0.5000.0
2.0.0.0
System.ComponentModel.DefaultValue("")
Property
System.Net.ICredentials
a
When using the Credentials property, a XML Web service client must instantiate a class implementing , such as , and then set the client credentials specific to the authentication mechanism. The class can be used to set authentication credentials using the basic, digest, NTLM and Kerberos authentication mechanisms.
When the property is set to then the client negotiates with the server to do Kerberos and/or NTLM authentication depending on how the server is configured.
Gets or sets security credentials for XML Web service client authentication.
1.0.5000.0
2.0.0.0
Method
System.Object
To be added
Gets an instance of a client protocol handler from the cache.
An instance of a client protocol handler from the cache.
The of the client protocol handler to be returned from the cache.
1.0.5000.0
2.0.0.0
Method
System.Net.WebRequest
This method can be overridden to customize the object before the XML Web service request is made. For example you could add a custom header to the request.
Creates a instance for the specified . This protected method is called by the XML Web service client infrastructure to get a new transport object to transmit the XML Web service request.
The instance.
The to use when creating the .
1.0.5000.0
2.0.0.0
Method
System.Net.WebResponse
To be added
Returns a response from a synchronous request to an XML Web service method.
A response from a synchronous request to an XML Web service method.
The to get the response from.
1.0.5000.0
2.0.0.0
Method
System.Net.WebResponse
To be added
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.
A response from an asynchronous request to an XML Web service method.
The to get the response from.
The to pass to when the response has completed.
1.0.5000.0
2.0.0.0
Property
System.Boolean
To be added: an object of type 'bool'
When a client requests a resource without using credentials, the server challenges the request and indicates what authentication schemes it supports. The client chooses an authentication scheme and sends the appropriate WWW-authenticate header to the server. When is true, the WWW-authenticate header is sent with all subsequent requests.
When is false, a request is made to the XML Web service method without initially attempting to authenticate the user. If the XML Web service allows anonymous access, then the XML Web service method is executed. If anonymous access is disallowed, a 401 HTTP return code is sent back to the client. In response, the class returns authentication credentials to the Web server. If the client is authenticated and subsequently authorized to access the XML Web service, the XML Web service method is executed; otherwise the client is denied access.
Gets or sets whether pre-authentication is enabled.
1.0.5000.0
2.0.0.0
System.ComponentModel.DefaultValue(false)
Property
System.Text.Encoding
a
The determines the encoding for the request message. The of the request will be annotated with the encoding value.
Classes deriving from support a particular protocol, such as does for SOAP, set this property to conform to encoding requirements for the specific protocol. For example, the sets the default encoding to UTF-8.
The used to make the client request to the XML Web service.
1.0.5000.0
2.0.0.0
System.ComponentModel.RecommendedAsConfigurable(true)
System.ComponentModel.DefaultValue(null)
Property
System.Int32
To be added: an object of type 'int'
Setting the property to indicates that the request does not time out. Even though an XML Web service client can set the property to not time out, the Web server can still cause the request to time out on the server side.
Indicates the time an XML Web service client waits for the reply to a synchronous XML Web service request to arrive (in milliseconds).
1.0.5000.0
2.0.0.0
System.ComponentModel.RecommendedAsConfigurable(true)
System.ComponentModel.DefaultValue(100000)
Property
System.String
To be added: an object of type 'string'
Proxy classes generated using Wsdl.exe will set a default property for the client to use. The default is determined by the location attribute found in the service description from which the proxy class was generated.
Derived classes supporting specific protocols, such as and might add extra information to to make the XML Web service request.
The property can be changed to refer to any XML Web service that implements the same service description that the proxy class was generated from.
Gets or sets the base URL of the XML Web service the client is requesting.
1.0.5000.0
2.0.0.0
System.ComponentModel.RecommendedAsConfigurable(true)
System.ComponentModel.DefaultValue("")
Property
2.0.0.0
System.Boolean
To be added.
To be added.
Gets or sets a value that indicates whether to set the property to the value of the property.
System.Runtime.InteropServices.ComVisible(true)