
HttpMethodAttribute | 609
Protocols
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ MimeFormatter ➝ MimeParameterWriter ➝ UrlEncodedParameter-
Writer
➝ HtmlFormParameterWriter
HttpGetClientProtocol
System.Web.Services.Protocols (system.web.services.dll)
marshal by reference, disposable
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.
Hierarchy
System.Object ➝ System.MarshalByRefObject ➝ System.ComponentModel.Compo-
nent(System.ComponentModel.IComponent, System.IDisposable)
➝ WebClientProtocol ➝
HttpWebClientProtocol ➝ HttpSimpleClientProtocol ➝ HttpGetClientProtocol
HttpMethodAttribute
System.Web.Services.Protocols (system.web.services.dll)
sealed class
This attribute is used to bind methods in an HttpGetClientProtocol or HttpPostClientProtocol
proxy class to web service methods.
The ParameterFormatter property specifies how the proxy encodes parameters before
sending them to a web service method. The ReturnFormatter property specifies how the
proxy class decodes the web method’s return value. Both values must be set, as there is
no default value. Set ReturnFormatter ...