QueueOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the queue with the specified queue name, under the specified account if it exists.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.StorageQueue> GetAsync (this Microsoft.Azure.Management.Storage.IQueueOperations operations, string resourceGroupName, string accountName, string queueName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Storage.IQueueOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.StorageQueue>
<Extension()>
Public Function GetAsync (operations As IQueueOperations, resourceGroupName As String, accountName As String, queueName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageQueue)
Parameters
- operations
- IQueueOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
- String
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- queueName
- String
A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET