Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NotificationHubClient.SendTemplateNotificationAsync Method (IDictionary<String, String>, String)

Asynchronously sends a template notification to a tag expression (a single tag "tag" is a valid tag expression).

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

public Task<NotificationOutcome> SendTemplateNotificationAsync(
	IDictionary<string, string> properties,
	string tagExpression


Type: System.Collections.Generic.IDictionary<String, String>
The properties of the template.
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.

Community Additions

© 2015 Microsoft