Пример #1
0
        public void DeleteQueuesForEndpoint()
        {
            QueueCreation.CreateQueuesForEndpoint(
                endpointName: "myendpoint",
                account: Environment.UserName);
            QueueDeletion.DeleteQueuesForEndpoint("myendpoint");
            Assert.IsFalse(MessageQueue.Exists(@".\private$\myendpoint"));

            QueueCreation.CreateQueue(
                queueName: "myerror",
                account: Environment.UserName);
            QueueDeletion.DeleteQueue(queueName: "myerror");
            Assert.IsFalse(MessageQueue.Exists(@".\private$\myerror"));

            QueueCreation.CreateQueue(
                queueName: "myaudit",
                account: Environment.UserName);
            QueueDeletion.DeleteQueue(queueName: "myaudit");
            Assert.IsFalse(MessageQueue.Exists(@".\private$\myaudit"));
        }
Пример #2
0
 public void Setup()
 {
     QueueDeletion.DeleteQueuesForEndpoint("myendpoint");
     QueueDeletion.DeleteQueue("myerror");
     QueueDeletion.DeleteQueue("myaudit");
 }
Пример #3
0
 public void Setup()
 {
     QueueDeletion.DeleteQueuesForEndpoint(endpointName);
     QueueDeletion.DeleteQueue(errorQueueName);
 }
Пример #4
0
 public void DeleteAllQueues()
 {
     QueueDeletion.DeleteAllQueues();
 }