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