/** * Delete a queue. All messages in the queue will also be deleted. * * @param string $queueId * @param array $options * @return boolean true if successful, false otherwise */ public function deleteQueue($queueId, $options = null) { try { if ($queueId instanceof \Zend\Service\WindowsAzure\Storage\QueueInstance) { $queueId = $queueId->Name; } return $this->_storageClient->deleteQueue($queueId); } catch (WindowsAzureException\ExceptionInterface $e) { throw new Exception\RunTimeException('Error on queue deletion: '.$e->getMessage(), $e->getCode(), $e); } }