Exemple #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(Telegram_HandlerClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITelegram_Handler));
 }
Exemple #2
0
 public Telegram_HandlerClient(EndpointConfiguration endpointConfiguration) :
     base(Telegram_HandlerClient.GetBindingForEndpoint(endpointConfiguration), Telegram_HandlerClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }