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