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