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