Esempio n. 1
0
 private NetMessagingTransportBindingElement(NetMessagingTransportBindingElement other) : base(other)
 {
     this.prefetchCount          = other.prefetchCount;
     this.SessionIdleTimeout     = other.SessionIdleTimeout;
     this.transportSettings      = (NetMessagingTransportSettings)other.transportSettings.Clone();
     this.receiveContextSettings = other.receiveContextSettings;
 }
Esempio n. 2
0
 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();
 }