Mono Class Library: System.Net.ServicePoint Overview | Members

System.Net.ServicePoint.ConnectionLimit Property

Gets or sets the maximum number of simultaneous connections that the System.Net.ServicePoint can make to an Internet host. [Edit]

public int ConnectionLimit { set; get; }

Value

A int containing the maximum number of simultaneous connections allowed on the current System.Net.ServicePoint. [Edit]

Exceptions

TypeReason
ArgumentOutOfRangeExceptionThe value specified for a set operation is less than or equal to zero. [Edit]

Remarks

Note: When the System.Net.ServicePoint is created, the value of this property is determined by the value of the ServicePointManager.DefaultConnectionLimit property. Note that subsequent changes to ServicePointManager.DefaultConnectionLimit have no effect on existing System.Net.ServicePoint instances.
[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0