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