This topic has not yet been rated - Rate this topic

RuleAction Class

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

System.Object
  Microsoft.ServiceBus.Messaging.RuleAction
    Microsoft.ServiceBus.Messaging.SqlRuleAction

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
[KnownTypeAttribute(typeof(SqlRuleAction))]
[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.

  Name Description
Public property RequiresPreprocessing Gets a value that indicates whether the rule action requires preprocessing.
Top
  Name Description
Public method Equals (Inherited from Object.)
Public method Execute Executes the filter action on the supplied BrokeredMessage.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Preprocess Preprocesses the RuleAction object.
Public method ToString (Inherited from Object.)
Public method Validate Validates the rule action against the grammar.
Top
  Name Description
Explicit interface implemetation Private property IExtensibleDataObject.ExtensionData Gets or sets the object that contains extra data.
Top

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.
Did you find this helpful?
(1500 characters remaining)