TcpTransportBindingElement.ConnectionPoolSettings 属性

定义

获取连接池设置的集合。

public:
 property System::ServiceModel::Channels::TcpConnectionPoolSettings ^ ConnectionPoolSettings { System::ServiceModel::Channels::TcpConnectionPoolSettings ^ get(); };
public System.ServiceModel.Channels.TcpConnectionPoolSettings ConnectionPoolSettings { get; }
member this.ConnectionPoolSettings : System.ServiceModel.Channels.TcpConnectionPoolSettings
Public ReadOnly Property ConnectionPoolSettings As TcpConnectionPoolSettings

属性值

一个 TcpConnectionPoolSettings 对象,包含与连接池相关的各种属性。

示例

下面的示例演示如何获取连接池设置的集合。

TcpTransportBindingElement bElement =
    new TcpTransportBindingElement();

TcpConnectionPoolSettings connectionPoolSettings =
    bElement.ConnectionPoolSettings;

适用于