<endpointBehaviors> 的 <behavior>
behavior 項目包含端點行為之設定的集合。各個行為是依其 name 進行索引。端點可透過這個名稱連結至每一個行為。
<<system.serviceModel>>
<behaviors>
<endpointBehaviors>
<endpointBehaviors> 的 <behavior>
<system.ServiceModel>
<behaviors>
<endpointBehaviors>
<behavior name="String" />
</endpointBehaviors>
</behaviors>
</system.ServiceModel>
屬性和項目
屬性
屬性 | 描述 |
---|---|
name |
唯一的字串,其中包含行為的組態名稱。這個值是使用者定義的字串,它必須是唯一的,因為它會充當項目的識別字串。 |
子項目
項目 | 描述 |
---|---|
指定用來對服務驗證用戶端的認證。 |
|
指定 Windows Communication Foundation (WCF) 回呼物件的服務偵錯。 |
|
指定用戶端回呼的逾時。 |
|
指定訊息應採用的路徑。 |
|
包含 DataContractSerializer 的組態資料。 |
|
可啟用端點行為,以取用 ASP.NET AJAX 網頁上的服務。該行為只能與 <webHttpBinding> 標準繫結,或 <webMessageEncoding> 繫結項目搭配使用。 |
|
指定在服務或用戶端應用程式中接收訊息的執行階段行為。它沒有任何屬性或子項目。 |
|
指定是否支援接收作業的交易批次處理。 |
|
透過組態指定端點上的 WebHttpBehavior。當與 <webHttpBinding> 標準繫結搭配使用時,這個行為會為 WCF 服務啟用 Web 程式設計模型。 |
父項目
項目 | 描述 |
---|---|
端點行為項目的集合。 |