Пример #1
0
        CreateBindingElements()
        {
            var mbe = new BinaryMessageEncodingBindingElement();

            if (ReaderQuotas != null)
            {
                ReaderQuotas.CopyTo(mbe.ReaderQuotas);
            }

            var prbe = Resolver.CreateBinding();

            return(new BindingElementCollection(new BindingElement [] { mbe, prbe, transport.Clone() }));
        }