TcpTransportBindingElement.ConnectionPoolSettings 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取连接池设置的集合。
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;