SALES: 1-800-867-1380

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)

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

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

NameDescription
System_CAPS_pubpropertyRequiresPreprocessing

Gets a value that indicates whether the rule action requires preprocessing.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute(BrokeredMessage)

Executes the filter action on the supplied BrokeredMessage.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodPreprocess()

Preprocesses the RuleAction object.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate()

Validates the rule action against the grammar.

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2016 Microsoft