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