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