Exemplo n.º 1
0
 public MeasurementsServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(MeasurementsServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemplo n.º 2
0
 public MeasurementsServiceClient(EndpointConfiguration endpointConfiguration) :
     base(MeasurementsServiceClient.GetBindingForEndpoint(endpointConfiguration), MeasurementsServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }