Exemple #1
0
 public void QueueExists()
 {
     #region QueueExistsAsync (TPL)
     IQueueingService queueingService = new CloudQueuesProvider(identity, region, clientId, internalUrl, identityProvider);
     QueueName        queueName       = new QueueName("ExampleQueue");
     Task <bool>      task            = queueingService.QueueExistsAsync(queueName, CancellationToken.None);
     #endregion
 }
Exemple #2
0
        public async Task QueueExistsAsyncAwait()
        {
            #region QueueExistsAsync (await)
            IQueueingService queueingService = new CloudQueuesProvider(identity, region, clientId, internalUrl, identityProvider);
            QueueName        queueName       = new QueueName("ExampleQueue");
            bool             exists          = await queueingService.QueueExistsAsync(queueName, CancellationToken.None);

            #endregion
        }
 public void QueueExists()
 {
     #region QueueExistsAsync (TPL)
     IQueueingService queueingService = new CloudQueuesProvider(identity, region, clientId, internalUrl, identityProvider);
     QueueName queueName = new QueueName("ExampleQueue");
     Task<bool> task = queueingService.QueueExistsAsync(queueName, CancellationToken.None);
     #endregion
 }
 public async Task QueueExistsAsyncAwait()
 {
     #region QueueExistsAsync (await)
     IQueueingService queueingService = new CloudQueuesProvider(identity, region, clientId, internalUrl, identityProvider);
     QueueName queueName = new QueueName("ExampleQueue");
     bool exists = await queueingService.QueueExistsAsync(queueName, CancellationToken.None);
     #endregion
 }