PushClient.CreateNotificationHubClient Method (String, String, Boolean)
Creates a NotificationHubClient in a mockable manner.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Protected Overridable Function CreateNotificationHubClient ( connectionString As String, hubName As String, enableTestSend As Boolean ) As NotificationHubClient
Parameters
- connectionString
-
Type:
System.String
The connection string for the NotificationHubClient.
- hubName
-
Type:
System.String
The name of the hub.
- enableTestSend
-
Type:
System.Boolean
Indicates whether test sends should be enabled.
Return Value
Type: Microsoft.ServiceBus.Notifications.NotificationHubClientA new NotificationHubClient instance.
Show: