NamedPipeTransportBindingElement.ConnectionPoolSettings 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取连接池设置的集合。
public:
property System::ServiceModel::Channels::NamedPipeConnectionPoolSettings ^ ConnectionPoolSettings { System::ServiceModel::Channels::NamedPipeConnectionPoolSettings ^ get(); };
public System.ServiceModel.Channels.NamedPipeConnectionPoolSettings ConnectionPoolSettings { get; }
member this.ConnectionPoolSettings : System.ServiceModel.Channels.NamedPipeConnectionPoolSettings
Public ReadOnly Property ConnectionPoolSettings As NamedPipeConnectionPoolSettings
属性值
一个 NamedPipeConnectionPoolSettings 对象,包含与连接池相关的各种属性。
示例
此示例演示如何获取连接池设置的集合:
NamedPipeTransportBindingElement bElement =
new NamedPipeTransportBindingElement();
NamedPipeConnectionPoolSettings connectionPoolSettings =
bElement.ConnectionPoolSettings;
Dim bElement As New NamedPipeTransportBindingElement()
Dim connectionPoolSettings As NamedPipeConnectionPoolSettings = bElement.ConnectionPoolSettings