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