private NetMessagingTransportBindingElement(NetMessagingTransportBindingElement other) : base(other) { this.prefetchCount = other.prefetchCount; this.SessionIdleTimeout = other.SessionIdleTimeout; this.transportSettings = (NetMessagingTransportSettings)other.transportSettings.Clone(); this.receiveContextSettings = other.receiveContextSettings; }
public NetMessagingTransportBindingElement() { this.receiveContextSettings = new NetMessagingTransportBindingElement.ReceiveContextSettings(); this.prefetchCount = -1; this.SessionIdleTimeout = Microsoft.ServiceBus.Messaging.Channels.TransportDefaults.SessionIdleTimeout; this.MaxReceivedMessageSize = (long)262144; this.transportSettings = new NetMessagingTransportSettings(); }