SubscriptionClient.AddRule SubscriptionClient.AddRule SubscriptionClient.AddRule SubscriptionClient.AddRule SubscriptionClient.AddRule SubscriptionClient.AddRule Method

Definition

Overloads

AddRule(RuleDescription) AddRule(RuleDescription) AddRule(RuleDescription) AddRule(RuleDescription) AddRule(RuleDescription) AddRule(RuleDescription)

Adds a new rule to the SubscriptionDescription using the specified rule description.

AddRule(String, Filter) AddRule(String, Filter) AddRule(String, Filter)

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

AddRule(RuleDescription) AddRule(RuleDescription) AddRule(RuleDescription) AddRule(RuleDescription) AddRule(RuleDescription) AddRule(RuleDescription)

Adds a new rule to the SubscriptionDescription using the specified rule description.

public:
 void AddRule(Microsoft::ServiceBus::Messaging::RuleDescription ^ description);
public:
 void AddRule(Microsoft::ServiceBus::Messaging::RuleDescription ^ description);
void AddRule(Microsoft::ServiceBus::Messaging::RuleDescription const & description);
public void AddRule (Microsoft.ServiceBus.Messaging.RuleDescription description);
member this.AddRule : Microsoft.ServiceBus.Messaging.RuleDescription -> unit
Public Sub AddRule (description As RuleDescription)
Parameters
description
RuleDescription RuleDescription RuleDescription RuleDescription RuleDescription RuleDescription

The rule description that provides metadata of the rule to add.

Exceptions

AddRule(String, Filter) AddRule(String, Filter) AddRule(String, Filter)

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

public:
 void AddRule(System::String ^ ruleName, Microsoft::ServiceBus::Messaging::Filter ^ filter);
public void AddRule (string ruleName, Microsoft.ServiceBus.Messaging.Filter filter);
member this.AddRule : string * Microsoft.ServiceBus.Messaging.Filter -> unit
Parameters
ruleName
String String String String String String

The name of the rule to add.

filter
Filter Filter Filter Filter Filter Filter

The filter expression against which messages will be matched.

Exceptions

Applies to