Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

Rule Class

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


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

public sealed class Rule

The Rule type exposes the following members.

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.

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.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.