Share via


NetTcpBindingElement.MaxConnections Özellik

Tanım

Hizmetin sırasıyla oluşturup kabul eden 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

Hizmetin sırasıyla oluşturup kabul edip oluşturduğu 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ı aşan tüm bağlantılar, sınırın altındaki bir alan kullanılabilir olana kadar kuyruğa alınır.

Şunlara uygulanır