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