コード例 #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.");
     }
 }
コード例 #2
0
 public MyCustomBindingElement(MyCustomBindingElement original)
 {
 }
コード例 #3
0
        protected override BindingElement CreateBindingElement()
        {
            MyCustomBindingElement bindingElement = new MyCustomBindingElement();

            return(bindingElement);
        }