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