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