Share via


Soap12BodyBinding 類別

定義

表示當 XML Web Service 支援 SOAP 通訊協定 1.2 版時,InputBindingOutputBinding 所套用的服務描述格式延伸。 此類別無法獲得繼承。

public ref class Soap12BodyBinding sealed : System::Web::Services::Description::SoapBodyBinding
[System.Web.Services.Configuration.XmlFormatExtension("body", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding), typeof(System.Web.Services.Description.MimePart))]
public sealed class Soap12BodyBinding : System.Web.Services.Description.SoapBodyBinding
[<System.Web.Services.Configuration.XmlFormatExtension("body", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding), typeof(System.Web.Services.Description.MimePart))>]
type Soap12BodyBinding = class
    inherit SoapBodyBinding
Public NotInheritable Class Soap12BodyBinding
Inherits SoapBodyBinding
繼承
屬性

備註

這個類別會指定訊息(抽象型別定義或實體架構定義)如何出現在 <Body> SOAP 訊息的元素中。

如需指定 XML Web Service 通訊協定的詳細資訊,請參閱 使用 ASP.NET 的 Xml Web service。 如需有關 Web 服務描述語言 (WSDL) 的詳細資訊,請參閱 wsdl 規格。

建構函式

Soap12BodyBinding()

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

屬性

Encoding

取得或設定包含空格分隔 URI 清單的字串。 URI 表示要用來在 SOAP Body 中編碼訊息的一種編碼樣式 (或多種樣式)。

(繼承來源 SoapBodyBinding)
Handled

取得或設定值,指出 ServiceDescriptionFormatExtension 是否在擴充性項目匯入時由匯入處理序來使用。

(繼承來源 ServiceDescriptionFormatExtension)
Namespace

取得或設定 URI,表示未特別由 Encoding 屬性所定義的內容之編碼方式的規格位置。

(繼承來源 SoapBodyBinding)
Parent

取得 ServiceDescriptionFormatExtension 的父代 (Parent)。

(繼承來源 ServiceDescriptionFormatExtension)
Parts

取得或設定值,指出傳輸訊息的那些部分出現在傳輸的 SOAP Body 部分中。

(繼承來源 SoapBodyBinding)
PartsString

取得或設定值,指出傳輸訊息的那些部分出現在傳輸的 SOAP Body 部分中。

(繼承來源 SoapBodyBinding)
Required

取得或設定值,指出 ServiceDescriptionFormatExtension 對它所參考的動作是否是必要的。

(繼承來源 ServiceDescriptionFormatExtension)
Use

指示訊息部分使用指定的編碼規則編碼,或定義訊息的具體結構描述 (Schema)。

(繼承來源 SoapBodyBinding)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱