Soap12BodyBinding 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表當 XML Web 服務支援 SOAP 協定 1.2 版本時,應用於 InputBinding or OutputBinding 的服務描述格式擴充。 此類別無法獲得繼承。
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 網路服務協定的規範,請參見 XML 網路服務使用 ASP.NET。 欲了解更多關於網路服務描述語言(WSDL)的資訊,請參閱 WSDL 規範。
建構函式
| 名稱 | Description |
|---|---|
| Soap12BodyBinding() |
初始化 Soap12BodyBinding 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Encoding |
取得或設定包含空格分隔 URI 清單的字串。 URI 代表用於在 SOAP 主體內編碼訊息的編碼樣式(或多樣式)。 (繼承來源 SoapBodyBinding) |
| Handled |
取得或設定一個值,表示在匯入擴充性元素匯入時是否會被 使用 。ServiceDescriptionFormatExtension (繼承來源 ServiceDescriptionFormatExtension) |
| Namespace |
取得或設定 URI,代表未由 Encoding 屬性明確定義內容編碼規範的位置。 (繼承來源 SoapBodyBinding) |
| Parent |
取得 的父 ServiceDescriptionFormatExtension節點。 (繼承來源 ServiceDescriptionFormatExtension) |
| Parts |
接收或設定一個值,指示傳送訊息中哪些部分出現在傳輸的 SOAP 主體部分。 (繼承來源 SoapBodyBinding) |
| PartsString |
接收或設定一個值,指示傳送訊息中哪些部分出現在傳輸的 SOAP 主體部分。 (繼承來源 SoapBodyBinding) |
| Required |
取得或設定一個值,表示是否 ServiceDescriptionFormatExtension 對其所指動作是必要的。 (繼承來源 ServiceDescriptionFormatExtension) |
| Use |
表示訊息部分是否使用指定的編碼規則編碼,或定義訊息的具體結構。 (繼承來源 SoapBodyBinding) |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設哈希函式。 (繼承來源 Object) |
| GetType() |
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
傳回表示目前 物件的字串。 (繼承來源 Object) |