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