Share via


Soap12Binding 類別

定義

表示 Web 服務描述語言 (WSDL) 文件中 SOAP 1.2 版通訊協定的繫結。 此類別無法獲得繼承。

public ref class Soap12Binding sealed : System::Web::Services::Description::SoapBinding
[System.Web.Services.Configuration.XmlFormatExtension("binding", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.Binding))]
[System.Web.Services.Configuration.XmlFormatExtensionPrefix("soap12", "http://schemas.xmlsoap.org/wsdl/soap12/")]
public sealed class Soap12Binding : System.Web.Services.Description.SoapBinding
[<System.Web.Services.Configuration.XmlFormatExtension("binding", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.Binding))>]
[<System.Web.Services.Configuration.XmlFormatExtensionPrefix("soap12", "http://schemas.xmlsoap.org/wsdl/soap12/")>]
type Soap12Binding = class
    inherit SoapBinding
Public NotInheritable Class Soap12Binding
Inherits SoapBinding
繼承
屬性

備註

此類別代表加入至 WSDL 檔案的 XML,指出 XML Web Service 支援使用 SOAP 通訊協定版本1.2 的通訊。

.NET Framework 版本1.0 不支援這個類別。

建構函式

Soap12Binding()

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

欄位

HttpTransport

表示 SOAP 訊息的傳輸通訊協定為 HTTP。 這個欄位為常數。

Namespace

表示繫結至 SOAP 通訊協定 1.2 版的 XML 命名空間。 這個欄位為常數。

屬性

Handled

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

(繼承來源 ServiceDescriptionFormatExtension)
Parent

取得 ServiceDescriptionFormatExtension 的父代 (Parent)。

(繼承來源 ServiceDescriptionFormatExtension)
Required

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

(繼承來源 ServiceDescriptionFormatExtension)
Style

指定 SoapBinding 所使用的 SOAP 繫結的型別。

(繼承來源 SoapBinding)
Transport

使用 SOAP 資料的 HTTP 傳輸規格來取得或設定 URI。

(繼承來源 SoapBinding)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於