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