ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 367
نمايش فراداده

SoapHttpClientProtocolmarshal by reference, disposable

System.Web.Services.Protocols (system.web.services.dll)class

You can inherit from this class to create a proxy class that communicates by using the SOAP protocol over HTTP. This is the most commonly used class for creating proxies and the default in proxy classes that .NET generates automatically. When using this class, you must also use the corresponding SoapDocumentMethodAttribute or SoapRpcMethodAttribute to bind a proxy class method to a web service method.

public class 

SoapHttpClientProtocol : HttpWebClientProtocol { // Public Constructors public

SoapHttpClientProtocol ( ); // Public Instance Methods public void

Discover ( ); // Protected Instance Methods protected IAsyncResult

BeginInvoke (string

methodName , object[ ]

parameters , AsyncCallback

callback , object

asyncState ); protected object[ ]

EndInvoke (IAsyncResult

asyncResult ); protected override WebRequest

GetWebRequest (Uri

uri ); // overrides HttpWebClientProtocol protected object[ ]

Invoke (string

methodName , object[ ]

parameters ); }

Hierarchy

System.Object System.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.IComponent, System.IDisposable) WebClientProtocol HttpWebClientProtocol SoapHttpClientProtocol

Returned By

SoapClientMessage.Client