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