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