QueueClient.ExistsAsync(CancellationToken) Method

Definition

The ExistsAsync(CancellationToken) operation can be called on a QueueClient to see if the associated queue exists on the storage account in the storage service.

C#
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync(System.Threading.CancellationToken cancellationToken = default);

Parameters

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

Returns true if the queue exists.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview