HttpMethodAttribute 构造函数

定义

初始化 HttpMethodAttribute 类的新实例。

重载

名称 说明
HttpMethodAttribute()

初始化 HttpMethodAttribute 类的新实例。

HttpMethodAttribute(Type, Type)

初始化 的新 HttpMethodAttribute实例。

HttpMethodAttribute()

初始化 HttpMethodAttribute 类的新实例。

public:
 HttpMethodAttribute();
public HttpMethodAttribute();
Public Sub New ()

适用于

HttpMethodAttribute(Type, Type)

初始化 的新 HttpMethodAttribute实例。

public:
 HttpMethodAttribute(Type ^ returnFormatter, Type ^ parameterFormatter);
public HttpMethodAttribute(Type returnFormatter, Type parameterFormatter);
new System.Web.Services.Protocols.HttpMethodAttribute : Type * Type -> System.Web.Services.Protocols.HttpMethodAttribute
Public Sub New (returnFormatter As Type, parameterFormatter As Type)

参数

returnFormatter
Type

ReturnFormatter 属性初始化为 Type 从 XML Web 服务方法反序列化响应的属性。

parameterFormatter
Type

ParameterFormatter 属性初始化为 Type 序列化从 XML Web 服务客户端发送到 XML Web 服务方法的参数。

适用于