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
)

Parameters

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

Community Additions

ADD
Show:
© 2014 Microsoft