/// <summary> /// Deletes an existing namespace. This operation also removes all /// associated notificationHubs under the namespace. (see /// http://msdn.microsoft.com/en-us/library/windowsazure/jj856296.aspx /// for more information) /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.NotificationHubs.INamespaceOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the resource group. /// </param> /// <param name='namespaceName'> /// Required. The namespace name. /// </param> /// <returns> /// The response of the CreateOrUpdate Api Management service long /// running operation. /// </returns> public static Task <NamespaceLongRunningResponse> BeginDeleteAsync(this INamespaceOperations operations, string resourceGroupName, string namespaceName) { return(operations.BeginDeleteAsync(resourceGroupName, namespaceName, CancellationToken.None)); }