Export (0) Print
Expand All

RuleAction Class

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.


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

[DataContractAttribute(Name = "RuleAction", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public abstract class RuleAction : IExtensibleDataObject

The RuleAction type exposes the following members.

Public propertyRequiresPreprocessingGets a value that indicates whether the rule action requires preprocessing.

Public methodEquals (Inherited from Object.)
Public methodExecuteExecutes the filter action on the supplied BrokeredMessage.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPreprocessPreprocesses the RuleAction object.
Public methodToString (Inherited from Object.)
Public methodValidateValidates the rule action against the grammar.

Explicit interface implemetationPrivate propertyIExtensibleDataObject.ExtensionDataGets or sets the object that contains extra data.

The typical use case for filter actions is to append or update the properties that are attached to a message, for example, assigning a group ID based on the correlation ID of a message.

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

Community Additions

© 2015 Microsoft