Freigeben über


PushClient.CreateNotificationHubClient(String, String, Boolean) Methode

Definition

Erstellt eine Microsoft.ServiceBus.Notifications.NotificationHubClient auf simulierte Weise.

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

Parameter

connectionString
String

Die Verbindungszeichenfolge für .Microsoft.ServiceBus.Notifications.NotificationHubClient

hubName
String

Der Name des Hubs.

enableTestSend
Boolean

Gibt an, ob Test sendet aktiviert werden soll.

Gibt zurück

Microsoft.ServiceBus.Notifications.NotificationHubClient

Eine neue Microsoft.ServiceBus.Notifications.NotificationHubClient-Instanz.

Gilt für: