Exemple #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(SliderServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ISliderService));
 }
Exemple #2
0
 public SliderServiceClient(EndpointConfiguration endpointConfiguration) :
     base(SliderServiceClient.GetBindingForEndpoint(endpointConfiguration), SliderServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }