WebHttpEndpoint 類別

定義

具有固定 WebHttpBinding 繫結,會自動加入 WebHttpBehavior 行為的標準端點。

public ref class WebHttpEndpoint : System::ServiceModel::Description::WebServiceEndpoint
public class WebHttpEndpoint : System.ServiceModel.Description.WebServiceEndpoint
type WebHttpEndpoint = class
    inherit WebServiceEndpoint
Public Class WebHttpEndpoint
Inherits WebServiceEndpoint
繼承

備註

撰寫 WCF REST 服務時,請使用這個端點。

建構函式

WebHttpEndpoint(ContractDescription)

使用指定的 WebHttpEndpoint 初始化 ContractDescription 類別的新執行個體。

WebHttpEndpoint(ContractDescription, EndpointAddress)

使用指定的 WebHttpEndpointContractDescription,初始化 EndpointAddress 類別的新執行個體。

屬性

Address

取得或設定服務端點的端點位址。

(繼承來源 ServiceEndpoint)
AutomaticFormatSelectionEnabled

取得或設定值,這個值表示是否啟用自動格式選取。

Behaviors

取得服務端點的行為。

(繼承來源 ServiceEndpoint)
Binding

取得或設定服務端點的繫結。

(繼承來源 ServiceEndpoint)
ContentTypeMapper

取得或設定與 WebContentTypeMapper 相關聯的 WebServiceEndpoint

(繼承來源 WebServiceEndpoint)
Contract

取得服務端點的合約。

(繼承來源 ServiceEndpoint)
CrossDomainScriptAccessEnabled

取得或設定值,這個值表示是否已啟用 WebServiceEndpoint 的跨網域指令碼存取。

(繼承來源 WebServiceEndpoint)
DefaultOutgoingResponseFormat

取得或設定預設的傳出回應格式。

EndpointBehaviors

取得服務的端點行為。

(繼承來源 ServiceEndpoint)
FaultExceptionEnabled

取得或設定旗標,指定內部伺服器錯誤 (HTTP 狀態碼:500) 發生時,是否產生 FaultException。

HelpEnabled

取得或設定值,這個值表示端點是否啟用 HTTP 說明頁面。

HostNameComparisonMode

取得或設定值,這個值會指出在比對 URI 時此主機名稱是否會用來取用服務。

(繼承來源 WebServiceEndpoint)
IsSystemEndpoint

取得或設定服務端點是否由系統產生,而非由使用者定義。

(繼承來源 ServiceEndpoint)
ListenUri

取得或設定服務端點接聽的 URI。

(繼承來源 ServiceEndpoint)
ListenUriMode

取得或設定傳輸如何處理提供給服務接聽的 URI。

(繼承來源 ServiceEndpoint)
MaxBufferPoolSize

取得或設定配置供訊息緩衝區管理員使用的最大記憶體量,緩衝區管理員管理使用此繫結之端點所需緩衝區。

(繼承來源 WebServiceEndpoint)
MaxBufferSize

取得或設定配置供訊息緩衝區管理員使用的最大記憶體量,其中訊息緩衝區會從通道接收訊息。

(繼承來源 WebServiceEndpoint)
MaxReceivedMessageSize

取得或設定可由繫結處理之訊息的大小上限。

(繼承來源 WebServiceEndpoint)
Name

取得或設定服務端點的名稱。

(繼承來源 ServiceEndpoint)
ReaderQuotas

取得或設定 SOAP 訊息複雜性的條件約束,而這些條件約束可由以此繫結所設定的端點處理。

(繼承來源 WebServiceEndpoint)
Security

取得要搭配此繫結使用的安全性設定。

(繼承來源 WebServiceEndpoint)
TransferMode

取得或設定值,這個值會指出以繫結設定的服務使用訊息傳輸的資料流處理模式或緩衝處理模式 (或兩者)。

(繼承來源 WebServiceEndpoint)
WebEndpointType

取得端點的 Type

WriteEncoding

取得或設定用於訊息文字的字元編碼。

(繼承來源 WebServiceEndpoint)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於