static void Main(string[] args) { try { ConnectionManagerHost cmhost = new ConnectionManagerHost(); cmhost.ParseArgs( args ); cmhost.Initialize(); cmhost.Run(); } catch(Exception e) { System.Console.WriteLine("ConnectionManagerHost is shutting down due to an exception: " + e.Message); } }
static void Main(string[] args) { try { ConnectionManagerHost cmhost = new ConnectionManagerHost(); cmhost.ParseArgs(args); cmhost.Initialize(); cmhost.Run(); } catch (Exception e) { System.Console.WriteLine("ConnectionManagerHost is shutting down due to an exception: " + e.Message); } }