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