public SenderClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(SenderClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(SenderClient.GetBindingForEndpoint(EndpointConfiguration.telemessage));
 }
 public SenderClient(EndpointConfiguration endpointConfiguration) :
     base(SenderClient.GetBindingForEndpoint(endpointConfiguration), SenderClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }