Ejemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(SchedServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ISchedService));
 }
Ejemplo n.º 2
0
 public SchedServiceClient(EndpointConfiguration endpointConfiguration) :
     base(SchedServiceClient.GetBindingForEndpoint(endpointConfiguration), SchedServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }