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