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