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