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

G. andrew Duthie; matthew Macdonald

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

HttpPostClientProtocolmarshal 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 HTTP POST protocol, which encodes parameters in the body of the HTTP request. When using this class, you must use the corresponding HttpMethodAttribute to bind proxy class methods to web service methods.

public class 

HttpPostClientProtocol : HttpSimpleClientProtocol { // Public Constructors public

HttpPostClientProtocol ( ); // Protected Instance Methods protected override WebRequest

GetWebRequest (Uri

uri ); // overrides HttpWebClientProtocol }

Hierarchy

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