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。

備註

通道在等待接受時會暫止。 當到達該限制時並不會建立通道,同時進入擱置模式,直到這個數字降低 (即接受擱置通道)。 這個限制適用於每個接聽程式。

如果到達臨界值,而且遠端應用程式嘗試建立新的可靠工作階段,則要求會被拒絕,提示這個要求的開啟作業也會發生錯誤。

適用於