Editar

Partilhar via


NamedPipeTransportBindingElement.ConnectionPoolSettings Property

Definition

Gets a collection of connection pool settings.

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

Property Value

A NamedPipeConnectionPoolSettings object that contains various properties related to connection pooling.

Examples

This example shows how to get a collection of connection pool settings:

NamedPipeTransportBindingElement bElement =
    new NamedPipeTransportBindingElement();

NamedPipeConnectionPoolSettings connectionPoolSettings =
    bElement.ConnectionPoolSettings;
Dim bElement As New NamedPipeTransportBindingElement()

Dim connectionPoolSettings As NamedPipeConnectionPoolSettings = bElement.ConnectionPoolSettings

Applies to