PushClient.SendAsync Method (IPushMessage, 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 Overridable Function SendAsync ( message As IPushMessage, tagExpression As String ) As Task(Of NotificationOutcome)
Parameters
- message
-
Type:
Microsoft.WindowsAzure.Mobile.Service.Notifications.IPushMessage
The notification payload is one of WindowsPushMessage, ApplePushMessage, or TemplatePushMessage.
- tagExpression
-
Type:
System.String
A tag expression representing the combination of tags to use for this notification.
Return Value
Type: System.Threading.Tasks.Task(Of NotificationOutcome)A Task(Of TResult) representing the notification send operation.
Show: