System.Net.ServicePoint.CloseConnectionGroup Method

Removes the specified connection group from this System.Net.ServicePoint object.

Syntax

public bool CloseConnectionGroup (string connectionGroupName)

Parameters

connectionGroupName
The name of the connection group that contains the connections to close and remove from this service point.

Returns

A bool value that indicates whether the connection group was closed.

Remarks

Connection groups associate a set of requests with a particular connection or set of connections. This method removes and closes all connections that belong to the specified connection group.

Requirements

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