CloudQueue.DeleteIfExistsAsync Methode

Definition

Überlädt

DeleteIfExistsAsync()

Initiiert einen asynchronen Vorgang zum Löschen der Warteschlange, sofern sie bereits vorhanden ist.

DeleteIfExistsAsync(CancellationToken)

Initiiert einen asynchronen Vorgang zum Löschen der Warteschlange, sofern sie bereits vorhanden ist.

DeleteIfExistsAsync(QueueRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang zum Löschen der Warteschlange, sofern sie bereits vorhanden ist.

DeleteIfExistsAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang zum Löschen der Warteschlange, sofern sie bereits vorhanden ist.

DeleteIfExistsAsync()

Initiiert einen asynchronen Vorgang zum Löschen der Warteschlange, sofern sie bereits vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : unit -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : unit -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync () As Task(Of Boolean)

Gibt zurück

Ein Task<TResult>-Objekt vom Typ bool, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DeleteIfExistsAsync(CancellationToken)

Initiiert einen asynchronen Vorgang zum Löschen der Warteschlange, sofern sie bereits vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync (cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ bool, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DeleteIfExistsAsync(QueueRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang zum Löschen der Warteschlange, sofern sie bereits vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync (options As QueueRequestOptions, operationContext As OperationContext) As Task(Of Boolean)

Parameter

options
QueueRequestOptions

Ein QueueRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ bool, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DeleteIfExistsAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang zum Löschen der Warteschlange, sofern sie bereits vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync (options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

options
QueueRequestOptions

Ein QueueRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ bool, das den asynchronen Vorgang darstellt.

Attribute

Gilt für: