次の方法で共有


PushClient.SendNotificationAsync メソッド

定義

オーバーロード

SendNotificationAsync(Notification, IEnumerable<String>)

送信操作を NotificationHubClient モック可能にします。

SendNotificationAsync(Notification, String)

送信操作を NotificationHubClient モック可能にします。

SendNotificationAsync(Notification, IEnumerable<String>)

送信操作を NotificationHubClient モック可能にします。

protected virtual System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendNotificationAsync (Microsoft.Azure.NotificationHubs.Notification notification, System.Collections.Generic.IEnumerable<string> tags);
abstract member SendNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
override this.SendNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Protected Overridable Function SendNotificationAsync (notification As Notification, tags As IEnumerable(Of String)) As Task(Of NotificationOutcome)

パラメーター

notification
Notification

送信する通知。

tags
IEnumerable<String>

この通知に使用するタグのセット。

戻り値

Task<TResult>通知送信操作を表す 。

適用対象

SendNotificationAsync(Notification, String)

送信操作を NotificationHubClient モック可能にします。

protected virtual System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendNotificationAsync (Microsoft.Azure.NotificationHubs.Notification notification, string tagExpression);
abstract member SendNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
override this.SendNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Protected Overridable Function SendNotificationAsync (notification As Notification, tagExpression As String) As Task(Of NotificationOutcome)

パラメーター

notification
Notification

送信する通知。

tagExpression
String

この通知に使用するタグの組み合わせを表すタグ式。

戻り値

Task<TResult>通知送信操作を表す 。

適用対象