Share via


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

SOAP 要求的 SOAPAction HTTP 標頭欄位。 設定 Action 屬性。

適用於