Example #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(RegionWSClient.GetEndpointAddress(EndpointConfiguration.RegionWSPort));
 }
Example #2
0
 public RegionWSClient(EndpointConfiguration endpointConfiguration) :
     base(RegionWSClient.GetBindingForEndpoint(endpointConfiguration), RegionWSClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }