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