Esempio n. 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"));
        }
Esempio n. 2
0
 public void Setup()
 {
     QueueDeletion.DeleteQueuesForEndpoint("myendpoint");
     QueueDeletion.DeleteQueue("myerror");
     QueueDeletion.DeleteQueue("myaudit");
 }
Esempio n. 3
0
 public void Setup()
 {
     QueueDeletion.DeleteQueuesForEndpoint(endpointName);
     QueueDeletion.DeleteQueue(errorQueueName);
 }