共用方式為


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

適用於