protected override BindingElement CreateBindingElement() { var binding = new IsoTextMessageBindingElement(); this.ApplyConfiguration(binding); return(binding); }
IsoTextMessageBindingElement(IsoTextMessageBindingElement binding) : this(binding.Encoding, binding.MediaType, binding.MessageVersion) { this._readerQuotas = new XmlDictionaryReaderQuotas(); binding.ReaderQuotas.CopyTo(this._readerQuotas); }