SubscriptionClient.AddRule Method (RuleDescription)
Adds a new rule to the SubscriptionDescription using the specified rule description.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Thrown if description is null.
Thrown if the operation exceeded the timeout value set by OperationTimeout.
Thrown when an attempt is made to add another rule with same name as one that has already been added.
Thrown if description.Name.Name is null, white space empty or not in the right format.
Thrown if the rule with the same name as description.Name.Name already existed for this subscription.
Thrown if the client entity has been closed or aborted.
Thrown if description.Name.Name length has exceeded the limit of 50 characters.