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