Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.LifecycleClient/Program.cs @ 5789

Last change on this file since 5789 was 5708, checked in by cneumuel, 14 years ago

#1233

  • changed the way transactions are handled
File size: 483 bytes
Line 
1using HeuristicLab.Clients.Common;
2using HeuristicLab.Services.Hive.Common.ServiceContracts;
3
4namespace HeuristicLab.Clients.Hive.LifecycleClient {
5  class Program {
6    private static void Main(string[] args) {
7      using (var factory = ClientFactory.CreateChannelFactory<IHiveService>("wsHttpBinding_IHiveService", null, "hiveslave", "hiveslave")) {
8        IHiveService client = factory.CreateChannel();
9        client.TriggerLifecycle(true);
10      }
11    }
12  }
13}
Note: See TracBrowser for help on using the repository browser.