Share via


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

プロパティ値

Int32

サービスが作成および受け入れる発信接続および着信接続の最大数。 既定値は 10 です。

属性

注釈

このプロパティで指定された個別の制限に対して、着信接続はおよび発信接続がカウントされます。 制限を超えた接続は、制限内に空きができるまでキューに置かれます。

適用対象