public IemployeeClient(EndpointConfiguration endpointConfiguration) : base(IemployeeClient.GetBindingForEndpoint(endpointConfiguration), IemployeeClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(IemployeeClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_Iemployee)); }