Share via


QueueServiceClient.DeleteQueueAsync(String, CancellationToken) Method

Definition

Deletes a queue.

For more information, see Delete Queue.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteQueueAsync (string queueName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteQueueAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteQueueAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteQueueAsync (queueName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

queueName
String

The name of the queue to delete.

Returns

Response

Applies to