public static void Main() { var replier = new Replier(_queueReplyPath, _queueInvalidPath); while (true) { Thread.Sleep(1000); } }
private void Run() { string requestQueueName = @".\private$\requestQueue"; string invalidQueueName = @".\private$\invalidQueue"; Replier replier = new Replier(requestQueueName, invalidQueueName); Console.ReadLine(); }
static void Main(string[] args) { try { Replier appReplier = new Replier(); appReplier.Run(args); } catch (Exception e) { Console.Out.WriteLine(e.ToString()); } }
static void Main(string[] args) { Replier Rep = new Replier(@".\Private$\ReqQueue", @".\Private$\InvQueue"); Console.ReadKey(); }