SoapDocumentMethodAttribute 构造函数

定义

初始化 SoapDocumentMethodAttribute 类的新实例。

重载

名称 说明
SoapDocumentMethodAttribute()

初始化 SoapDocumentMethodAttribute 类的新实例。

SoapDocumentMethodAttribute(String)

初始化类的新实例 SoapDocumentMethodAttribute ,将 Action 属性设置为参数的值 action

SoapDocumentMethodAttribute()

初始化 SoapDocumentMethodAttribute 类的新实例。

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

适用于

SoapDocumentMethodAttribute(String)

初始化类的新实例 SoapDocumentMethodAttribute ,将 Action 属性设置为参数的值 action

public:
 SoapDocumentMethodAttribute(System::String ^ action);
public SoapDocumentMethodAttribute(string action);
new System.Web.Services.Protocols.SoapDocumentMethodAttribute : string -> System.Web.Services.Protocols.SoapDocumentMethodAttribute
Public Sub New (action As String)

参数

action
String

SOAPAction SOAP 请求的 HTTP 标头字段。 设置 Action 属性。

适用于