Partager via


CloudQueue.BeginCreateIfNotExists Méthode

Définition

Surcharges

BeginCreateIfNotExists(AsyncCallback, Object)

Commence une opération asynchrone pour créer la file d’attente si elle n’existe pas déjà.

BeginCreateIfNotExists(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Commence une opération asynchrone pour créer la file d’attente si elle n’existe pas déjà.

BeginCreateIfNotExists(AsyncCallback, Object)

Commence une opération asynchrone pour créer la file d’attente si elle n’existe pas déjà.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists (AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreateIfNotExists : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreateIfNotExists : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreateIfNotExists (callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Paramètres

callback
AsyncCallback

Délégué AsyncCallback qui recevra une notification une fois l’opération asynchrone terminée.

state
Object

Objet défini par l’utilisateur qui sera passé au délégué de rappel.

Retours

ICancellableAsyncResult qui fait référence à l’opération asynchrone.

Attributs

Remarques

Cette API nécessite des autorisations De création ou d’écriture.

S’applique à

BeginCreateIfNotExists(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Commence une opération asynchrone pour créer la file d’attente si elle n’existe pas déjà.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreateIfNotExists : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreateIfNotExists : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreateIfNotExists (options As QueueRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Paramètres

options
QueueRequestOptions

Objet QueueRequestOptions qui spécifie les options supplémentaires de la demande.

operationContext
OperationContext

Objet OperationContext qui représente le contexte de l'opération actuelle.

callback
AsyncCallback

Délégué AsyncCallback qui recevra une notification une fois l’opération asynchrone terminée.

state
Object

Objet défini par l’utilisateur qui sera passé au délégué de rappel.

Retours

ICancellableAsyncResult qui fait référence à l’opération asynchrone.

Attributs

Remarques

Cette API nécessite des autorisations De création ou d’écriture.

S’applique à