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