예제 #1
0
 public BasicHttpCustomHeaderBinding(IClientCustomHeader customHeader, BasicHttpSecurityMode securityMode)
     : base(securityMode)
 {
     channelBindingElement = new CustomHeaderBindingElement();
     channelBindingElement.CustomHeader = customHeader;
 }
예제 #2
0
 public PollingDuplexCustomHeaderBinding(IClientCustomHeader customHeader, PollingDuplexHttpSecurityMode securityMode)
     : base(securityMode)
 {
     channelBindingElement = new CustomHeaderBindingElement();
     channelBindingElement.CustomHeader = customHeader;
 }