SALES: 1-800-867-1380

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)

member AddRuleAsync : 
        ruleName:string * 
        filter:Filter -> Task 

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft