protected override void Validate() { // see Microsoft.BizTalk.Adapter.Sftp.SftpRLConfig.Validate() // see Microsoft.BizTalk.Adapter.Wcf.Config.RLConfig.ValidateBinding() var binding = AdapterConfig.CreateBinding(new SftpRHConfig()); binding.CreateBindingElements(); // see Microsoft.BizTalk.Adapter.Wcf.Config.RLConfig.ValidateAddress() AdapterConfigValidationHelper.ValidateAddress(GetAddress(), UriKind.Absolute, binding.Scheme, null); }
protected override void Validate() { // see Microsoft.BizTalk.Adapter.Sftp.SftpTLConfig.Validate() // see Microsoft.BizTalk.Adapter.Wcf.Config.TLConfig.ValidateBinding() var binding = AdapterConfig.CreateBinding(new SftpTHConfig()); binding.CreateBindingElements(); // see Microsoft.BizTalk.Adapter.Wcf.Config.TLConfig.ValidateAddress() AdapterConfigValidationHelper.ValidateAddress(GetAddress().Replace("%", WebUtility.UrlEncode("%")), UriKind.Absolute, binding.Scheme, null); }