Compartilhar via


Método IStorageAccountOperations.GetAsync

Asynchronously retrieves information about a storage account.

Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (em Microsoft.WindowsAzure.Management.Storage.dll)

Uso

'Uso
Dim instance As IStorageAccountOperations
Dim accountName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of StorageAccountGetResponse)

returnValue = instance.GetAsync(accountName, cancellationToken)

Sintaxe

'Declaração
Function GetAsync ( _
    accountName As String, _
    cancellationToken As CancellationToken _
) As Task(Of StorageAccountGetResponse)
Task<StorageAccountGetResponse> GetAsync (
    string accountName,
    CancellationToken cancellationToken
)
Task<StorageAccountGetResponse^>^ GetAsync (
    String^ accountName, 
    CancellationToken cancellationToken
)
Task<StorageAccountGetResponse> GetAsync (
    String accountName, 
    CancellationToken cancellationToken
)
function GetAsync (
    accountName : String, 
    cancellationToken : CancellationToken
) : Task<StorageAccountGetResponse>

Parâmetros

  • serviceName
    Name of the storage account for which information should be retrieved.
  • cancellationToken
    The cancellation token.

Valor de retorno

The StorageServiceGetResponse that contains the information about the storage account.

Comentários

For more information about retrieving information about a storage account, see the following resources:

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Interface IStorageAccountOperations
Membros IStorageAccountOperations
Namespace Microsoft.WindowsAzure.Management.Storage