NetNamedPipeBindingElement.MaxConnections プロパティ

定義

サービスが作成して受け入れる送信接続と受信接続の最大数を指定する値を取得または設定します。

public:
 property int MaxConnections { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxConnections", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxConnections { get; set; }
[System.Configuration.ConfigurationProperty("maxConnections", DefaultValue=0)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxConnections { get; set; }
[<System.Configuration.ConfigurationProperty("maxConnections", DefaultValue=10)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxConnections : int with get, set
[<System.Configuration.ConfigurationProperty("maxConnections", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxConnections : int with get, set
Public Property MaxConnections As Integer

プロパティ値

サービスが作成して受け入れる送信接続と受信接続の最大数。 既定値は 10 です。

属性

注釈

受信接続と送信接続は、このプロパティで指定された個別の制限に対してカウントされます。 制限を超える接続は、制限を超える領域が使用可能になるまでキューに入れられます。

適用対象