Exemplo n.º 1
0
        public async Task CloudQueueClientCreateQueueSharedKeyLiteAsync()
        {
            CloudQueueClient queueClient = GenerateCloudQueueClient();

            queueClient.AuthenticationScheme = AuthenticationScheme.SharedKeyLite;

            string     queueName = GenerateNewQueueName();
            CloudQueue queue     = queueClient.GetQueueReference(queueName);
            await queue.CreateAsync();

            bool exists = await queue.ExistsAsync();

            Assert.IsTrue(exists);
        }