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)

protected virtual Task<NotificationOutcome> SendNotificationAsync(
	Notification notification,
	string tagExpression
)

Parameters

notification
Type: Microsoft.ServiceBus.Notifications.Notification

The notification to send.

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.

Return to top
Show: