Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(TN_TeacherUpdate_ServiceClient.GetEndpointAddress(EndpointConfiguration.TN_TeacherUpdate_Service));
 }
Пример #2
0
 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);
 }