public void DeleteQueuesForEndpoint() { QueueDeletion.DeleteQueuesForEndpoint( uri: "amqp://*****:*****@localhost:5672", endpointName: "myendpoint"); QueueDeletion.DeleteQueue( uri: "amqp://*****:*****@localhost:5672", queueName: "error"); QueueDeletion.DeleteQueue( uri: "amqp://*****:*****@localhost:5672", queueName: "audit"); }