語言

SoapDocumentServiceAttribute 建構函式

定義

初始化 SoapDocumentServiceAttribute 類別的新執行個體。

多載

名稱 Description
SoapDocumentServiceAttribute()

初始化一個新的類別實例 SoapDocumentServiceAttribute ,將所有屬性設定為預設值。

SoapDocumentServiceAttribute(SoapBindingUse)

初始化一個新的類別實例 SoapDocumentServiceAttribute ,設定參數格式。

SoapDocumentServiceAttribute(SoapBindingUse, SoapParameterStyle)

初始化一個新的類別實例 SoapDocumentServiceAttribute ,該類別設定參數格式,並設定參數是否封裝在單一 XML 元素中,該元素下 Body ,並置於 SOAP 訊息中。

SoapDocumentServiceAttribute()

初始化一個新的類別實例 SoapDocumentServiceAttribute ,將所有屬性設定為預設值。

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

適用於

SoapDocumentServiceAttribute(SoapBindingUse)

初始化一個新的類別實例 SoapDocumentServiceAttribute ,設定參數格式。

public:
 SoapDocumentServiceAttribute(System::Web::Services::Description::SoapBindingUse use);
public SoapDocumentServiceAttribute(System.Web.Services.Description.SoapBindingUse use);
new System.Web.Services.Protocols.SoapDocumentServiceAttribute : System.Web.Services.Description.SoapBindingUse -> System.Web.Services.Protocols.SoapDocumentServiceAttribute
Public Sub New (use As SoapBindingUse)

參數

use
SoapBindingUse

XML 網路服務的參數格式。 設定 Use 屬性。

適用於

SoapDocumentServiceAttribute(SoapBindingUse, SoapParameterStyle)

初始化一個新的類別實例 SoapDocumentServiceAttribute ,該類別設定參數格式,並設定參數是否封裝在單一 XML 元素中,該元素下 Body ,並置於 SOAP 訊息中。

public:
 SoapDocumentServiceAttribute(System::Web::Services::Description::SoapBindingUse use, System::Web::Services::Protocols::SoapParameterStyle paramStyle);
public SoapDocumentServiceAttribute(System.Web.Services.Description.SoapBindingUse use, System.Web.Services.Protocols.SoapParameterStyle paramStyle);
new System.Web.Services.Protocols.SoapDocumentServiceAttribute : System.Web.Services.Description.SoapBindingUse * System.Web.Services.Protocols.SoapParameterStyle -> System.Web.Services.Protocols.SoapDocumentServiceAttribute
Public Sub New (use As SoapBindingUse, paramStyle As SoapParameterStyle)

參數

use
SoapBindingUse

參數格式風格。 設定 Use 屬性。

paramStyle
SoapParameterStyle

設定參數是否封裝於單一 XML 元素中,該元素下方 Body ,於 XML Web 服務內與 XML Web 服務方法之間的 SOAP 訊息中。 設定 ParameterStyle 屬性。

適用於