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