Share via


PushClient.SendAsync Method (IPushMessage)

 

Sends a notification to the Notification Hub.

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

Syntax

public virtual Task<NotificationOutcome> SendAsync(
    IPushMessage message
)
public:
virtual Task<NotificationOutcome^>^ SendAsync(
    IPushMessage^ message
)
abstract SendAsync : 
        message:IPushMessage -> Task<NotificationOutcome>
override SendAsync : 
        message:IPushMessage -> Task<NotificationOutcome>
Public Overridable Function SendAsync (
    message As IPushMessage
) As Task(Of NotificationOutcome)

Parameters

Return Value

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

A Task<TResult> representing the notification send operation.

See Also

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

Return to top