/// <summary> /// Lists all the available namespaces within the subscription /// irrespective of the resourceGroups. (see /// http://msdn.microsoft.com/en-us/library/azure/hh780759.aspx for /// more information) /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.NotificationHubs.INamespaceOperations. /// </param> /// <returns> /// The response of the List Namespace operation. /// </returns> public static Task <NamespaceListResponse> ListAllAsync(this INamespaceOperations operations) { return(operations.ListAllAsync(CancellationToken.None)); }