SALES: 1-800-867-1380

NotificationHubClient.SendAppleNativeNotificationAsync Method (String, String)

Asynchronously sends an Apple native notification to a tag expression (a single tag "tag" is a valid tag expression). To specify an expiry, use the SendNotificationAsync(Notification) method.

Namespace:  Microsoft.ServiceBus.Notifications
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public Task<NotificationOutcome> SendAppleNativeNotificationAsync(
	string jsonPayload,
	string tagExpression
)

Parameters

jsonPayload
Type: System.String
The JSON payload.
tagExpression
Type: System.String
A tag expression is any boolean expression constructed using the logical operators AND (&&), OR (||), NOT (!), and round parentheses. For example: (A || B) && !C. If an expression uses only ORs, it can contain at most 20 tags. Other expressions are limited to 6 tags. Note that a single tag "A" is a valid expression.

Return Value

Type: System.Threading.Tasks.Task<NotificationOutcome>
The task that completes the asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft