使用Azure Notification Hubs安装模型时如何获取所有安装? [英] How to get all installations when using Azure Notification Hubs installation model?
问题描述
使用 NotificationHubClient
,我可以获取所有特定安装,但无法获取所有内容.
Using NotificationHubClient
I can get all registered devices using GetAllRegistrationsAsync()
. But if I do not use the registration model but the installation model instead, how can I get all installations? There are methods to retrieve a specific installation but none to get everything.
推荐答案
您是正确的,截至2016年7月,尚无法获得集线器的所有安装.将来,产品团队计划将此功能添加到安装模型中,但是它将以不同的方式工作.您无需提供运行时操作,而是提供存储连接字符串,并且会获得与集线器关联的所有内容的blob.
You're correct, as of July 2016 there's no way to get all installations for a hub. In the future, the product team is planning to add this feature to the installations model, but it will work in a different way. Instead of making it a runtime operation, you'll provide your storage connection string and you'll get a blob with everything associated with the hub.
这篇关于使用Azure Notification Hubs安装模型时如何获取所有安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!