指定一種端點行為,使服務能非同步發送回覆。
<組態>
<system.service模型>
<行為>
<端點行為>
<態度>
<調度器同步>
語法
<dispatcherSynchronizationBehavior asynchronousSendEnabled="Boolean"
maxPendingReceives="Integer" />
類型
Type
屬性和元素
下列章節說明屬性、子元素和父元素。
Attributes
| Attribute | Description |
|---|---|
| 非同步發送啟用 | 一個布林值,指定是否啟用非同步傳送行為。 |
maxPendingReceives |
一個整數,表示該通道可同時發出的接收次數。 這個數值應該只有在你正確設定服務限流行為後才會設定。 |
子專案
沒有。
父元素
| 元素 | Description |
|---|---|
| <態度> | 指定端點行為。 |