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