/// <summary> /// Deletes a notification hub associated with a namespace. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.WindowsAzure.Management.ServiceBus.INotificationHubOperations. /// </param> /// <param name='namespaceName'> /// Required. The namespace name. /// </param> /// <param name='notificationHubName'> /// Required. The notification hub name. /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static Task <AzureOperationResponse> DeleteAsync(this INotificationHubOperations operations, string namespaceName, string notificationHubName) { return(operations.DeleteAsync(namespaceName, notificationHubName, CancellationToken.None)); }