Пример #1
0
 public CatalogServicesClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(CatalogServicesClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(CatalogServicesClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ICatalogServices));
 }
Пример #3
0
 public CatalogServicesClient(EndpointConfiguration endpointConfiguration) :
     base(CatalogServicesClient.GetBindingForEndpoint(endpointConfiguration), CatalogServicesClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }