PushClient.CreateNotificationHubClient Method (String, String, Boolean)

 

Creates a NotificationHubClient in a mockable manner.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Notifications
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 to top
Show: