Compartilhar via


PushClient.SendNotificationAsync Método

Definição

Sobrecargas

SendNotificationAsync(Notification, IEnumerable<String>)

Torna a NotificationHubClient operação de envio mockable.

SendNotificationAsync(Notification, String)

Torna a NotificationHubClient operação de envio mockable.

SendNotificationAsync(Notification, IEnumerable<String>)

Torna a NotificationHubClient operação de envio mockable.

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)

Parâmetros

notification
Notification

A notificação a ser enviada.

tags
IEnumerable<String>

O conjunto de marcas a serem usadas para esta notificação.

Retornos

Um Task<TResult> que representa a operação de envio de notificação.

Aplica-se a

SendNotificationAsync(Notification, String)

Torna a NotificationHubClient operação de envio mockable.

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)

Parâmetros

notification
Notification

A notificação a ser enviada.

tagExpression
String

Uma expressão de marca que representa a combinação de marcas a serem usadas para essa notificação.

Retornos

Um Task<TResult> que representa a operação de envio de notificação.

Aplica-se a