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