SALES: 1-800-867-1380
Expand Minimize

SubscriptionClient.RemoveRule Method

Removes the rule described by ruleName.

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

public void RemoveRule(
	string ruleName
)

Parameters

ruleName
Type: System.String
The name of the rule.

ExceptionCondition
MessagingEntityNotFoundException

Thrown when rule does not exist.

ArgumentException

Thrown if description.Name is null, white space empty or not in the right format.

TimeoutException

Thrown if the operation exceeded the timeout value set via OperationTimeout.

OperationCanceledException

Thrown if the client entity has been closed or aborted.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft