Udostępnij za pośrednictwem


TcpConnectionPoolSettings.GroupName Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the group name of the connection pool group on the client.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.NetTcp (in System.ServiceModel.NetTcp.dll)

Syntax

'Declaration
Public Property GroupName As String
public string GroupName { get; set; }

Property Value

Type: System.String
The group name of the connection pool group on the client. The default name is "default".

Exceptions

Exception Condition
ArgumentNullException

The value is nulla null reference (Nothing in Visual Basic).

Remarks

The default value can be changed to isolate the connections for a particular client into separate groups.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.