Partilhar via


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

Definição

Cria um de Microsoft.ServiceBus.Notifications.NotificationHubClient maneira fictícia.

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

Parâmetros

connectionString
String

A cadeia de conexão para o Microsoft.ServiceBus.Notifications.NotificationHubClient.

hubName
String

O nome do hub.

enableTestSend
Boolean

Indica se os envios de teste devem ser habilitados.

Retornos

Microsoft.ServiceBus.Notifications.NotificationHubClient

Uma nova instância de Microsoft.ServiceBus.Notifications.NotificationHubClient.

Aplica-se a