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