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