public void ApplyConfiguration(ReliableSession reliableSession) { if (reliableSession == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("reliableSession"); } reliableSession.Ordered = this.Ordered; reliableSession.InactivityTimeout = this.InactivityTimeout; }
public void InitializeFrom(ReliableSession reliableSession) { if (reliableSession == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("reliableSession"); } this.Ordered = reliableSession.Ordered; this.InactivityTimeout = reliableSession.InactivityTimeout; }
public void ApplyConfiguration(System.ServiceModel.ReliableSession reliableSession) { if (null == reliableSession) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("reliableSession"); } reliableSession.Ordered = this.Ordered; reliableSession.InactivityTimeout = this.InactivityTimeout; }
public void InitializeFrom(System.ServiceModel.ReliableSession reliableSession) { if (null == reliableSession) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("reliableSession"); } SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Ordered, reliableSession.Ordered); SetPropertyValueIfNotDefaultValue(ConfigurationStrings.InactivityTimeout, reliableSession.InactivityTimeout); }
void Initialize() { this.httpTransport = new HttpTransportBindingElement(); this.messageEncoding = WSDualHttpBindingDefaults.MessageEncoding; this.txFlow = GetDefaultTransactionFlowBindingElement(); this.session = new ReliableSessionBindingElement(true); this.textEncoding = new TextMessageEncodingBindingElement(); this.textEncoding.MessageVersion = MessageVersion.Soap12WSAddressing10; this.mtomEncoding = new MtomMessageEncodingBindingElement(); this.mtomEncoding.MessageVersion = MessageVersion.Soap12WSAddressing10; this.compositeDuplex = new CompositeDuplexBindingElement(); this.reliableSession = new ReliableSession(session); this.oneWay = new OneWayBindingElement(); }
internal void CopySettings(ReliableSession copyFrom) { this.Ordered = copyFrom.Ordered; this.InactivityTimeout = copyFrom.InactivityTimeout; }
internal void CopySettings(ReliableSession copyFrom) { Ordered = copyFrom.Ordered; InactivityTimeout = copyFrom.InactivityTimeout; }
// Methods public void ApplyConfiguration (ReliableSession s) { s.InactivityTimeout = InactivityTimeout; s.Ordered = Ordered; }