@DoesServiceRequest
    public boolean deleteIfExists(QueueRequestOptions options, OperationContext opContext) throws StorageException {
    """
	Deletes the queue if it exists, using the specified request options and operation context.
	
	@param options
	A {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying
	<code>null</code> will use the default request options from the associated service client (
	{@link CloudQueueClient}).
	@param opContext
	An {@link OperationContext} object that represents the context for the current operation. This object
	is used to track requests to the storage service, and to provide additional runtime information about
	the operation.
	
	@return A value of <code>true</code> if the queue existed in the storage service and has been deleted, otherwise
	<code>false</code>.
	
	@throws StorageException
	If a storage service error occurred during the operation.
    """
        options = QueueRequestOptions.populateAndApplyDefaults(options, this.queueServiceClient);

        boolean exists = this.exists(true, options, opContext);
        if (exists) {
            try {
                this.delete(options, opContext);
                return true;
            }
            catch (StorageException e) {
                if (e.getHttpStatusCode() == HttpURLConnection.HTTP_NOT_FOUND
                        && StorageErrorCodeStrings.QUEUE_NOT_FOUND.equals(e.getErrorCode())) {
                    return false;
                }
                else {
                    throw e;
                }
            }

        }
        else {
            return false;
        }
    }
@DoesServiceRequest
    public boolean deleteIfExists(QueueRequestOptions options, OperationContext opContext) throws StorageException {
        options = QueueRequestOptions.populateAndApplyDefaults(options, this.queueServiceClient);

        boolean exists = this.exists(true, options, opContext);
        if (exists) {
            try {
                this.delete(options, opContext);
                return true;
            }
            catch (StorageException e) {
                if (e.getHttpStatusCode() == HttpURLConnection.HTTP_NOT_FOUND
                        && StorageErrorCodeStrings.QUEUE_NOT_FOUND.equals(e.getErrorCode())) {
                    return false;
                }
                else {
                    throw e;
                }
            }

        }
        else {
            return false;
        }
    }
@ DoesServiceRequest public boolean deleteIfExists ( QueueRequestOptions options , OperationContext opContext ) throws StorageException { options = QueueRequestOptions . populateAndApplyDefaults ( options , this . queueServiceClient ) ; boolean exists = this . exists ( true , options , opContext ) ; if ( exists ) { try { this . delete ( options , opContext ) ; return true ; } catch ( StorageException e ) { if ( e . getHttpStatusCode ( ) == HttpURLConnection . HTTP_NOT_FOUND && StorageErrorCodeStrings . QUEUE_NOT_FOUND . equals ( e . getErrorCode ( ) ) ) { return false ; } else { throw e ; } } } else { return false ; } }
Deletes the queue if it exists, using the specified request options and operation context.

@param options
A {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying
<code>null</code> will use the default request options from the associated service client (
{@link CloudQueueClient}).
@param opContext
An {@link OperationContext} object that represents the context for the current operation. This object
is used to track requests to the storage service, and to provide additional runtime information about
the operation.

@return A value of <code>true</code> if the queue existed in the storage service and has been deleted, otherwise
<code>false</code>.

@throws StorageException
If a storage service error occurred during the operation.
Deletes the queue if it exists using the specified request options and operation context .