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