BlobServiceClient.GetAccountInfoAsync(CancellationToken) Méthode

Définition

L’opération GetAccountInfoAsync(CancellationToken) retourne le nom de la référence et le type de compte pour le compte spécifié.

Pour plus d'informations, consultez la rubrique Obtenir des informations sur le compte.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.AccountInfo>> GetAccountInfoAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAccountInfoAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.AccountInfo>>
override this.GetAccountInfoAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.AccountInfo>>
Public Overridable Function GetAccountInfoAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AccountInfo))

Paramètres

cancellationToken
CancellationToken

Facultatif CancellationToken pour propager des notifications indiquant que l’opération doit être annulée.

Retours

Response<T> décrivant le compte.

Remarques

Un RequestFailedException sera levée en cas d’échec.

S’applique à