Partager via


PushClient.SendNotificationAsync Méthode

Définition

Surcharges

SendNotificationAsync(Notification, IEnumerable<String>)

Rend Microsoft.ServiceBus.Notifications.NotificationHubClient l’opération d’envoi dérisable.

SendNotificationAsync(Notification, String)

Rend Microsoft.ServiceBus.Notifications.NotificationHubClient l’opération d’envoi dérisable.

SendNotificationAsync(Notification, IEnumerable<String>)

Rend Microsoft.ServiceBus.Notifications.NotificationHubClient l’opération d’envoi dérisable.

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

Paramètres

notification
Microsoft.ServiceBus.Notifications.Notification

Notification à envoyer.

tags
IEnumerable<String>

Ensemble de balises à utiliser pour cette notification.

Retours

Task<Microsoft.ServiceBus.Notifications.NotificationOutcome>

Task<TResult> représentant l’opération d’envoi de notification.

S’applique à

SendNotificationAsync(Notification, String)

Rend Microsoft.ServiceBus.Notifications.NotificationHubClient l’opération d’envoi dérisable.

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

Paramètres

notification
Microsoft.ServiceBus.Notifications.Notification

Notification à envoyer.

tagExpression
String

Expression de balise représentant la combinaison de balises à utiliser pour cette notification.

Retours

Task<Microsoft.ServiceBus.Notifications.NotificationOutcome>

Task<TResult> représentant l’opération d’envoi de notification.

S’applique à