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