PushClient.SendNotificationAsync Method

Definition

Overloads

SendNotificationAsync(Notification, IEnumerable<String>)

Makes NotificationHubClient send operation mockable.

SendNotificationAsync(Notification, String)

Makes NotificationHubClient send operation mockable.

SendNotificationAsync(Notification, IEnumerable<String>)

Makes NotificationHubClient send operation 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)

Parameters

notification
Notification

The notification to send.

tags
IEnumerable<String>

The set of tags to use for this notification.

Returns

A Task<TResult> representing the notification send operation.

Applies to

SendNotificationAsync(Notification, String)

Makes NotificationHubClient send operation 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)

Parameters

notification
Notification

The notification to send.

tagExpression
String

A tag expression representing the combination of tags to use for this notification.

Returns

A Task<TResult> representing the notification send operation.

Applies to