private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(Nterface1Client.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_INterface1)); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(Nterface1Client.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_INterface1)); }
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); }
public Nterface1Client() : base(Nterface1Client.GetDefaultBinding(), Nterface1Client.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_INterface1.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }