/// <summary> /// Deletes a notification hub associated with a namespace. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='namespaceName'> /// The namespace name. /// </param> /// <param name='notificationHubName'> /// The notification hub name. /// </param> public static void Delete(this INotificationHubsOperations operations, string resourceGroupName, string namespaceName, string notificationHubName) { operations.DeleteAsync(resourceGroupName, namespaceName, notificationHubName).GetAwaiter().GetResult(); }