Ejemplo n.º 1
0
 public MyCustomDuplexSessionChannelFactory(MyCustomBindingElement bindingElement, BindingContext context)
     : base(context.Binding)
 {
     this.innerChannelFactory = context.BuildInnerChannelFactory <TChannel>();
     if (this.innerChannelFactory == null)
     {
         throw new InvalidOperationException("InspectingChannelFactory requires an inner IChannelFactory.");
     }
 }
 public MyCustomBindingElement(MyCustomBindingElement original)
 {
 }
Ejemplo n.º 3
0
        protected override BindingElement CreateBindingElement()
        {
            MyCustomBindingElement bindingElement = new MyCustomBindingElement();

            return(bindingElement);
        }