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

G. andrew Duthie; matthew Macdonald

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

HttpSimpleClientProtocolmarshal by reference, disposable

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

This abstract class provides basic functionality for communicating with a web service over HTTP. This class is inherited by HttpGetClientProtocol and HttpPostClientProtocol, both of which your proxy classes can derive from directly. Parameters for an HTTP proxy are encoded by using application/x-www-form-urlencoded content type.

public abstract class 

HttpSimpleClientProtocol : HttpWebClientProtocol { // Protected Constructors protected

HttpSimpleClientProtocol ( ); // Protected Instance Methods protected IAsyncResult

BeginInvoke (string

methodName , string

requestUrl , object[ ]

parameters , AsyncCallback

callback , object

asyncState ); protected object

EndInvoke (IAsyncResult

asyncResult ); protected object

Invoke (string

methodName , string

requestUrl , object[ ]

parameters ); }

Hierarchy

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

Subclasses

HttpGetClientProtocol, HttpPostClientProtocol