次の方法で共有


PushClient.CreateNotificationHubClient(String, String, Boolean) メソッド

定義

モック可能な方法で を NotificationHubClient 作成します。

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

パラメーター

connectionString
String

の接続文字列 NotificationHubClient

hubName
String

ハブの名前。

enableTestSend
Boolean

テスト送信を有効にするかどうかを示します。

戻り値

新しい NotificationHubClient インスタンス。

適用対象