internal void InitializeMaxPooledConnections(int maxOutboundConnectionsPerEndpoint)
 {
     if (maxOutboundConnectionsPerEndpoint == ConnectionOrientedTransportDefaults.MaxOutboundConnectionsPerEndpoint)
     {
         this.maxPooledConnections = ConnectionOrientedTransportDefaults.GetMaxConnections();
     }
     else
     {
         this.maxPooledConnections = maxOutboundConnectionsPerEndpoint;
     }
 }
 internal ConnectionOrientedTransportBindingElement()
     : base()
 {
     this.connectionBufferSize         = ConnectionOrientedTransportDefaults.ConnectionBufferSize;
     this.hostNameComparisonMode       = ConnectionOrientedTransportDefaults.HostNameComparisonMode;
     this.channelInitializationTimeout = ConnectionOrientedTransportDefaults.ChannelInitializationTimeout;
     this.maxBufferSize         = TransportDefaults.MaxBufferSize;
     this.maxPendingConnections = ConnectionOrientedTransportDefaults.GetMaxPendingConnections();
     this.maxOutputDelay        = ConnectionOrientedTransportDefaults.MaxOutputDelay;
     this.maxPendingAccepts     = ConnectionOrientedTransportDefaults.GetMaxPendingAccepts();
     this.transferMode          = ConnectionOrientedTransportDefaults.TransferMode;
 }