NamedPipeTransportBindingElement.ConnectionPoolSettings 属性

定义

获取连接池设置的集合。

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

适用于