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