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