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