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