語言

ReliableSessionBindingElement.MaxPendingChannels 屬性

定義

在可靠會話中,取得或設定最多待處理的通道數量。

public:
 property int MaxPendingChannels { int get(); void set(int value); };
public int MaxPendingChannels { get; set; }
member this.MaxPendingChannels : int with get, set
Public Property MaxPendingChannels As Integer

屬性值

最多的待處理頻道數量。 預設值為 4。

例外狀況

該值集合小於或等於零或大於16384。

備註

頻道在等待接受時會顯示待開放。 一旦達到這個上限,就不會建立任何頻道並進入待處理模式,直到這個數字下降(透過接受待處理頻道)。 這是每位聽眾的限制。

當達到門檻且遠端應用程式嘗試建立新的可靠會話時,請求會被拒絕,觸發此故障的開啟操作也會發生故障。

適用於