创建Azure的推送通知中心Programaticaly [英] Creating Azure Push Notification Hub Programaticaly
问题描述
在MSDN文档它说:
Azure的支持通知集线器作为Azure的SDK 2.1的一部分,在Microsoft.ServiceBus.dll装配。现在,您可以创建,更新和编程方式删除通知中心,管理设备的注册,并在所有平台(Windows应用商店,Windows Phone的8,iOS和Android设备)。
Azure supports Notification Hubs as part of the Azure SDK 2.1, in the Microsoft.ServiceBus.dll assembly. You can now create, update and delete notification hubs programmatically, manage your device registrations, and send push notifications to all your mobile clients across all platforms (Windows Store, Windows Phone 8, iOS, and Android).
我找不到编程方式创建和管理集线器或任何代码样本,我们目前正在引用Microsoft.Servicebus.dll的V2.4的任何文件。
I cannot find any documentation on creating and managing the hubs programmatically or any code samples, we are currently referencing v2.4 of the Microsoft.Servicebus.dll.
推荐答案
您应该使用NamespaceManager.CreateNotificationHub或NamespaceManager.CreateNotificationHubAsync了。
You should use NamespaceManager.CreateNotificationHub or NamespaceManager.CreateNotificationHubAsync for.
下面是的 NamespaceManager类文档
这篇关于创建Azure的推送通知中心Programaticaly的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!