NetNamedPipeBindingElement.MaxConnections Özellik

Tanım

Hizmetin tarafından oluşturulan ve kabul ettiği en fazla giden ve gelen bağlantı sayısını belirten bir değer alır veya ayarlar.

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

Özellik Değeri

Int32

Hizmetin sırasıyla oluşturduğu ve kabul ettiği en fazla giden ve gelen bağlantı sayısı. Varsayılan değer 10 ' dur.

Öznitelikler

Açıklamalar

Gelen ve giden bağlantılar, bu özellik tarafından belirtilen ayrı bir sınıra göre sayılır. Sınırın üzerinde olan her türlü bağlantı, sınırın altındaki bir boşluk kullanılabilir olana kadar sıraya alınır.

Şunlara uygulanır