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