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