Пример #1
0
 public CompanyLimitServiceClient(EndpointConfiguration endpointConfiguration) :
     base(CompanyLimitServiceClient.GetBindingForEndpoint(endpointConfiguration), CompanyLimitServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CompanyLimitServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ICompanyLimitService));
 }