Freigeben über


PushClient.SendNotificationAsync Methode

Definition

Überlädt

SendNotificationAsync(Notification, IEnumerable<String>)

Macht den Microsoft.ServiceBus.Notifications.NotificationHubClient Sendevorgang simuliert.

SendNotificationAsync(Notification, String)

Macht den Microsoft.ServiceBus.Notifications.NotificationHubClient Sendevorgang simuliert.

SendNotificationAsync(Notification, IEnumerable<String>)

Macht den Microsoft.ServiceBus.Notifications.NotificationHubClient Sendevorgang simuliert.

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)

Parameter

notification
Microsoft.ServiceBus.Notifications.Notification

Die zu sendende Benachrichtigung.

tags
IEnumerable<String>

Der Satz von Tags, die für diese Benachrichtigung verwendet werden sollen.

Gibt zurück

Task<Microsoft.ServiceBus.Notifications.NotificationOutcome>

Ein Task<TResult> , der den Benachrichtigungssendevorgang darstellt.

Gilt für:

SendNotificationAsync(Notification, String)

Macht den Microsoft.ServiceBus.Notifications.NotificationHubClient Sendevorgang simuliert.

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)

Parameter

notification
Microsoft.ServiceBus.Notifications.Notification

Die zu sendende Benachrichtigung.

tagExpression
String

Ein Tagausdruck, der die Kombination von Tags darstellt, die für diese Benachrichtigung verwendet werden sollen.

Gibt zurück

Task<Microsoft.ServiceBus.Notifications.NotificationOutcome>

Ein Task<TResult> , der den Benachrichtigungssendevorgang darstellt.

Gilt für: