SubscriptionClient.AddRule Method (String, RuleDescription)

Adds a new rule to the Subscription.

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

Syntax

'Declaration
Public Sub AddRule ( _
    ruleName As String, _
    description As RuleDescription _
)
'Usage
Dim instance As SubscriptionClient
Dim ruleName As String
Dim description As RuleDescription

instance.AddRule(ruleName, description)
public void AddRule(
    string ruleName,
    RuleDescription description
)
public:
void AddRule(
    String^ ruleName, 
    RuleDescription^ description
)
member AddRule : 
        ruleName:string * 
        description:RuleDescription -> unit 
public function AddRule(
    ruleName : String, 
    description : RuleDescription
)

Parameters

See Also

Reference

SubscriptionClient Class

AddRule Overload

Microsoft.ServiceBus.Messaging Namespace