public Void deleteSubscription(String topicPath, String subscriptionName) throws ServiceBusException, InterruptedException {
        return Utils.completeFuture(this.asyncClient.deleteSubscriptionAsync(topicPath, subscriptionName));
    }
public Void deleteSubscription ( String topicPath , String subscriptionName ) throws ServiceBusException , InterruptedException { return Utils . completeFuture ( this . asyncClient . deleteSubscriptionAsync ( topicPath , subscriptionName ) ) ; }
Deletes the subscription described by the topicPath and the subscriptionName.
@param topicPath - The name of the topic.
@param subscriptionName - The name of the subscription.
@throws IllegalArgumentException - path is not null / empty / too long / invalid.
@throws TimeoutException - The operation times out. The timeout period is initiated through ClientSettings.operationTimeout
@throws AuthorizationFailedException - No sufficient permission to perform this operation. Please check ClientSettings.tokenProvider has correct details.
@throws ServerBusyException - The server is busy. You should wait before you retry the operation.
@throws ServiceBusException - An internal error or an unexpected exception occurred.
@throws MessagingEntityNotFoundException - An entity with this name does not exist.
@throws InterruptedException if the current thread was interrupted