ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







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 to the
UrlParameterWriter type if you are using HTTP GET
or the HtmlFormParameterWriter type if you are
using HTTP POST. Always set ParameterFormatter to
the XmlReturnReader type. An example attribute
declaration for HTTP GET is
<HttpMethodAttribute(GetType(XmlReturnReader),
GetType(UrlParameterWriter))>.

public sealed class 

HttpMethodAttribute : Attribute {
// Public Constructors
public

HttpMethodAttribute ( );
public

HttpMethodAttribute (Type

returnFormatter , Type

parameterFormatter );
// Public Instance Properties
public Type

ParameterFormatter {set; get; }
public Type

ReturnFormatter {set; get; }
}



Hierarchy


System.Object
System.Attribute
HttpMethodAttribute

Valid On


Method

/ 873