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