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