Rule Class
Represents a rule. A rule is used to filter and modify messages as they pass through subscriptions.
Inheritance Hierarchy
System.Object
Microsoft.ServiceBus.Messaging.Rule
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
Syntax
'Declaration
Public NotInheritable Class Rule
'Usage
Dim instance As Rule
public sealed class Rule
public ref class Rule sealed
[<SealedAttribute>]
type Rule = class end
public final class Rule
The Rule type exposes the following members.
Properties
Name | Description | |
---|---|---|
ExtensionData | Gets the information describing the extension. | |
FilterAction | Gets the filter actions. | |
FilterExpression | Gets the filter expression that is used to filter messages that should pass through the subscription. | |
Name | Gets the name of the rule. | |
NamespaceClient | Gets the client that is used to access the ServiceBus namespace and perform management operations. | |
SubscriptionName | Gets the name of the subscription. | |
TopicPath | Gets the topic’s path relative to the base address of the namespace. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetDescription | Gets the rule description. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.