PushClient.SendAsync Method (IPushMessage, IEnumerable<String>)
Sends a notification to the Notification Hub with a given tag expression.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
public virtual Task<NotificationOutcome> SendAsync( IPushMessage message, IEnumerable<string> tags )
Parameters
- message
-
Type:
Microsoft.WindowsAzure.Mobile.Service.Notifications.IPushMessage
The notification payload is one of WindowsPushMessage, ApplePushMessage, or TemplatePushMessage.
- tags
-
Type:
System.Collections.Generic.IEnumerable<String>
The set of tags to use for this notification.
Return Value
Type: System.Threading.Tasks.Task<NotificationOutcome>A Task<TResult> representing the notification send operation.
Show: