Exemple #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CourseLocationList_ServiceClient.GetEndpointAddress(EndpointConfiguration.CourseLocationList_Service));
 }
Exemple #2
0
 public CourseLocationList_ServiceClient(EndpointConfiguration endpointConfiguration) :
     base(CourseLocationList_ServiceClient.GetBindingForEndpoint(endpointConfiguration), CourseLocationList_ServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }