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