Exemple #1
0
        public static CloudQueue GetLinkQueue()
        {
            CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
                System.Configuration.ConfigurationManager.AppSettings["StorageConnectionString"]);

            CloudQueueClient queueClient = storageAccount.CreateCloudQueueClient();

            LinkQueue = queueClient.GetQueueReference("linkqueue");
            LinkQueue.CreateIfNotExists();
            LinkQueue.FetchAttributes();

            return(LinkQueue);
        }