PushClient.CreateNotificationHubClient(String, String, Boolean) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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
Eine neue Microsoft.ServiceBus.Notifications.NotificationHubClient-Instanz.
Gilt für:
Azure SDK for .NET