Provides connection management for HTTP connections.
Assembly: System (in System.dll)
Gets the Uniform Resource Identifier (URI) of the server that thisobject connects to.
Specifies the delegate to associate a local IPEndPoint with a .
Gets the certificate received for thisobject.
Gets the last client certificate sent to the server.
Gets or sets the number of milliseconds after which an activeconnection is closed.
Gets or sets the maximum number of connections allowed on thisobject.
Gets the connection name.
Gets the number of open connections associated with thisobject.
Gets or sets a Boolean value that determines whether 100-Continue behavior is used.
Gets the date and time that theobject was last connected to a host.
Gets or sets the amount of time a connection associated with theobject can remain idle before the connection is closed.
Gets the version of the HTTP protocol that theobject uses.
Gets or sets the size of the receiving buffer for the socket used by this.
Indicates whether theobject supports pipelined connections.
Gets or sets a Boolean value that determines whether the Nagle algorithm is used on connections managed by this object.
Removes the specified connection group from thisobject.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
|SetTcpKeepAlive(Boolean, Int32, Int32)|
Enables or disables the keep-alive option on a TCP connection.
Returns a string that represents the current object.(Inherited from Object.)
Theclass handles connections to an Internet resource based on the host information passed in the resource's Uniform Resource Identifier (URI). The initial connection to the resource determines the information that the object maintains, which is then shared by all subsequent requests to that resource.
ServicePointManager class and are created, if necessary, by the ServicePointManager.FindServicePoint method. objects are never created directly but are always created and managed by the ServicePointManager class. The maximum number of objects that can be created is set by the ServicePointManager.MaxServicePoints property.objects are managed by the
Each MaxIdleTime property. When a exceeds the MaxIdleTime value, it can be recycled to another connection. The default value of MaxIdleTime is set by the ServicePointManager.MaxServicePointIdleTime property.object maintains its connection to an Internet resource until it has been idle longer than the time specified in the
When the ConnectionLeaseTimeout property is set to a value other than -1, and after the specified time elapses, an active connection is closed after it services the next request. This is useful for applications that do not require active connections that are opened indefinitely, as they are by default.
In high load conditions, some applications may run out of free threads in the ThreadPool, which may lead to poor system performance (such as high and variable transaction times). See http://msdn.microsoft.com/library/default.asp?url=/library/dnpag/html/scalenetchapt17.asp for a number of configuration changes you can make to fix this issue.
Available since 1.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.