HttpOperationBinding 類別

定義

表示已加入至 XML Web Service 內的 OperationBinding 的擴充性項目。 此類別無法獲得繼承。

public ref class HttpOperationBinding sealed : System::Web::Services::Description::ServiceDescriptionFormatExtension
[System.Web.Services.Configuration.XmlFormatExtension("operation", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.OperationBinding))]
public sealed class HttpOperationBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension
[<System.Web.Services.Configuration.XmlFormatExtension("operation", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.OperationBinding))>]
type HttpOperationBinding = class
    inherit ServiceDescriptionFormatExtension
Public NotInheritable Class HttpOperationBinding
Inherits ServiceDescriptionFormatExtension
繼承
屬性

備註

此類別表示 Web 服務描述語言中的擴充性元素, (WSDL) 特定于 HTTP。 它會使用做為所指定位置的基底,指定作業的相對 URL HttpAddressBinding 。 如需指定 XML Web Service 通訊協定的詳細資訊,請參閱 使用 ASP.NET 的 Xml Web service。 如需 WSDL 的詳細資訊,請參閱 WSDL 規格。

建構函式

HttpOperationBinding()

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

屬性

Handled

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

(繼承來源 ServiceDescriptionFormatExtension)
Location

取得或設定 URL,其相對於 HttpAddressBinding 所支援作業之 HttpOperationBinding (在 Web 服務描述語言 (WSDL) 文件內) 所指定的位置。

Parent

取得 ServiceDescriptionFormatExtension 的父代 (Parent)。

(繼承來源 ServiceDescriptionFormatExtension)
Required

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

(繼承來源 ServiceDescriptionFormatExtension)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於