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