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