コード例 #1
0
 NetTcpContextBinding(NetTcpBinding netTcpBinding)
 {
     NetTcpContextBindingPropertyTransferHelper helper = new NetTcpContextBindingPropertyTransferHelper();
     helper.InitializeFrom(netTcpBinding);
     helper.SetBindingElementType(typeof(NetTcpContextBinding));
     helper.ApplyConfiguration(this);
 }
コード例 #2
0
        NetTcpContextBinding(NetTcpBinding netTcpBinding)
        {
            NetTcpContextBindingPropertyTransferHelper helper = new NetTcpContextBindingPropertyTransferHelper();

            helper.InitializeFrom(netTcpBinding);
            helper.SetBindingElementType(typeof(NetTcpContextBinding));
            helper.ApplyConfiguration(this);
        }
 private NetTcpContextBinding(NetTcpBinding netTcpBinding)
 {
     this.contextManagementEnabled = true;
     this.contextProtectionLevel = ProtectionLevel.Sign;
     NetTcpContextBindingPropertyTransferHelper helper = new NetTcpContextBindingPropertyTransferHelper();
     helper.InitializeFrom(netTcpBinding);
     helper.SetBindingElementType(typeof(NetTcpContextBinding));
     helper.ApplyConfiguration(this);
 }
コード例 #4
0
        private NetTcpContextBinding(NetTcpBinding netTcpBinding)
        {
            this.contextManagementEnabled = true;
            this.contextProtectionLevel   = ProtectionLevel.Sign;
            NetTcpContextBindingPropertyTransferHelper helper = new NetTcpContextBindingPropertyTransferHelper();

            helper.InitializeFrom(netTcpBinding);
            helper.SetBindingElementType(typeof(NetTcpContextBinding));
            helper.ApplyConfiguration(this);
        }