Export (0) Print
Expand All

SubscriptionClient.AddRuleAsync Method (String, Filter)

Asynchronously adds a rule to the current subscription with the specified name and filter expression.

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

public Task AddRuleAsync(
	string ruleName,
	Filter filter
)

Parameters

ruleName
Type: System.String
The name of the rule to add.
filter
Type: Microsoft.ServiceBus.Messaging.Filter
The filter expression against which messages will be matched.

Return Value

Type: System.Threading.Tasks.Task
A task instance that represents the asynchronous add rule operation.

Community Additions

ADD
Show:
© 2014 Microsoft