コード例 #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(SliderServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ISliderService));
 }
コード例 #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(SliderServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ISliderService));
 }
コード例 #3
0
 public SliderServiceClient(EndpointConfiguration endpointConfiguration) :
     base(SliderServiceClient.GetBindingForEndpoint(endpointConfiguration), SliderServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #4
0
 public SliderServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(SliderServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #5
0
 public SliderServiceClient() :
     base(SliderServiceClient.GetDefaultBinding(), SliderServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ISliderService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }