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