SALES: 1-800-867-1380

Rule Class

Represents a rule. A rule is used to filter and modify messages as they pass through subscriptions.

System.Object
  Microsoft.ServiceBus.Messaging.Rule

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

public sealed class Rule

The Rule type exposes the following members.

  NameDescription
Public propertyExtensionDataGets the information describing the extension.
Public propertyFilterActionGets the filter actions.
Public propertyFilterExpressionGets the filter expression that is used to filter messages that should pass through the subscription.
Public propertyNameGets the name of the rule.
Public propertyNamespaceClientGets the client that is used to access the ServiceBus namespace and perform management operations.
Public propertySubscriptionNameGets the name of the subscription.
Public propertyTopicPathGets the topic’s path relative to the base address of the namespace.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDescriptionGets the rule description.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft