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

G. andrew Duthie; matthew Macdonald

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

HttpGetClientProtocolmarshal 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 GET protocol, which sends parameters in the query string portion of the URL. When using this class, you must use the corresponding HttpMethodAttribute to bind proxy class methods to web service methods.

public class 

HttpGetClientProtocol : HttpSimpleClientProtocol { // Public Constructors public

HttpGetClientProtocol ( ); // 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 HttpGetClientProtocol