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