Share via


PushClient.SendNotificationAsync Method (Notification, String)

 

Makes NotificationHubClient send operation mockable.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Notifications
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

protected virtual Task<NotificationOutcome> SendNotificationAsync(
    Notification notification,
    string tagExpression
)
protected:
virtual Task<NotificationOutcome^>^ SendNotificationAsync(
    Notification^ notification,
    String^ tagExpression
)
abstract SendNotificationAsync : 
        notification:Notification *
        tagExpression:string -> Task<NotificationOutcome>
override SendNotificationAsync : 
        notification:Notification *
        tagExpression:string -> Task<NotificationOutcome>
Protected Overridable Function SendNotificationAsync (
    notification As Notification,
    tagExpression As String
) As Task(Of NotificationOutcome)

Parameters

  • tagExpression
    Type: System.String

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

Return Value

Type: System.Threading.Tasks.Task<NotificationOutcome>

A Task<TResult> representing the notification send operation.

See Also

SendNotificationAsync Overload
PushClient Class
Microsoft.WindowsAzure.Mobile.Service.Notifications Namespace

Return to top