public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            ReliableSessionElement element = (ReliableSessionElement)from;

            this.AcknowledgementInterval = element.AcknowledgementInterval;
            this.FlowControlEnabled      = element.FlowControlEnabled;
            this.InactivityTimeout       = element.InactivityTimeout;
            this.MaxPendingChannels      = element.MaxPendingChannels;
            this.MaxRetryCount           = element.MaxRetryCount;
            this.MaxTransferWindowSize   = element.MaxTransferWindowSize;
            this.Ordered = element.Ordered;
            this.ReliableMessagingVersion = element.ReliableMessagingVersion;
        }
        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);

            ReliableSessionElement source = (ReliableSessionElement)from;

#pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null
            this.AcknowledgementInterval = source.AcknowledgementInterval;
            this.FlowControlEnabled      = source.FlowControlEnabled;
            this.InactivityTimeout       = source.InactivityTimeout;
            this.MaxPendingChannels      = source.MaxPendingChannels;
            this.MaxRetryCount           = source.MaxRetryCount;
            this.MaxTransferWindowSize   = source.MaxTransferWindowSize;
            this.Ordered = source.Ordered;
            this.ReliableMessagingVersion = source.ReliableMessagingVersion;
        }