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