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