Export (0) Print
Expand All
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))]
[KnownTypeAttribute(typeof(DateTimeOffset))]
[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.

  NameDescription
Public propertyRequiresPreprocessingGets a value that indicates whether the rule action requires preprocessing.
Top
  NameDescription
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.
Top
  NameDescription
Explicit interface implemetationPrivate propertyIExtensibleDataObject.ExtensionDataGets 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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.