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