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