RuleAction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
[System.Runtime.Serialization.DataContract(Name="RuleAction", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.EmptyRuleAction))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.SqlRuleAction))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.CompositeAction))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.RuleCreationAction))]
[System.Runtime.Serialization.KnownType(typeof(System.DateTimeOffset))]
public abstract class RuleAction : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="RuleAction", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.EmptyRuleAction))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.SqlRuleAction))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.CompositeAction))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.RuleCreationAction))>]
[<System.Runtime.Serialization.KnownType(typeof(System.DateTimeOffset))>]
type RuleAction = class
interface IExtensibleDataObject
Public MustInherit Class RuleAction
Implements IExtensibleDataObject
- Inheritance
-
RuleAction
- Derived
- Attributes
- Implements
Remarks
Filter actions allow for the transformation of a message that have been matched by a filter expression. The typical use case for filter acions 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.
Properties
RequiresPreprocessing |
Gets a value that indicates whether the rule action requires preprocessing. |
Methods
Execute(BrokeredMessage) |
Executes the filter action on the supplied BrokeredMessage. |
Preprocess() |
Preprocesses the RuleAction object. |
Validate() |
Validates the rule action against the grammar. |
Explicit Interface Implementations
IExtensibleDataObject.ExtensionData |
Applies to
See also
- <xref:Microsoft.ServiceBus.Messaging.EmptyRuleAction>
- SqlRuleAction
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기