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