Example #1
0
 public TempConverterEndpointClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(TempConverterEndpointClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Example #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(TempConverterEndpointClient.GetBindingForEndpoint(EndpointConfiguration.TempConverterEndpointPort));
 }
Example #3
0
 public TempConverterEndpointClient(EndpointConfiguration endpointConfiguration) :
     base(TempConverterEndpointClient.GetBindingForEndpoint(endpointConfiguration), TempConverterEndpointClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }