Partager via


PushClient.CreateNotificationHubClient(String, String, Boolean) Méthode

Définition

Crée un Microsoft.ServiceBus.Notifications.NotificationHubClient de manière moqueuse.

protected virtual Microsoft.ServiceBus.Notifications.NotificationHubClient CreateNotificationHubClient (string connectionString, string hubName, bool enableTestSend);
abstract member CreateNotificationHubClient : string * string * bool -> Microsoft.ServiceBus.Notifications.NotificationHubClient
override this.CreateNotificationHubClient : string * string * bool -> Microsoft.ServiceBus.Notifications.NotificationHubClient
Protected Overridable Function CreateNotificationHubClient (connectionString As String, hubName As String, enableTestSend As Boolean) As NotificationHubClient

Paramètres

connectionString
String

Chaîne de connexion pour .Microsoft.ServiceBus.Notifications.NotificationHubClient

hubName
String

Nom du hub.

enableTestSend
Boolean

Indique si les envois de test doivent être activés.

Retours

Microsoft.ServiceBus.Notifications.NotificationHubClient

Nouvelle instance de Microsoft.ServiceBus.Notifications.NotificationHubClient.

S’applique à