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