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