コード例 #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;
 }