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