Exemple #1
0
        void CreateQueueCallback(IAsyncResult ar)
        {
            try
            {
                var queue = _client.EndCreateQueue(ar);
                Console.WriteLine("Async Create queue successfully, queue name: {0}", queue.QueueName);

                _autoSetEvent.Set();
            }
            catch (Exception ex)
            {
                Console.WriteLine("Async Create queue failed, exception info: " + ex.Message);
            }
        }