Example #1
0
        static void Main2(string[] args)
        {
            CommonManager.CreateInfrastructure();
            MainAsync().Wait();


            //subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync,
            //    new MessageHandlerOptions(ExceptionReceivedHandler)
            //    {
            //        MaxConcurrentCalls = 1,
            //        AutoComplete = false
            //    });

            //await Task.Delay(TimeSpan.FromSeconds(1), cancellationToken);
        }
Example #2
0
 static void Main3(string[] args)
 {
     CommonManager.CreateInfrastructure();
     MainAsync().Wait();
 }