共用方式為


RuleAction.Execute(BrokeredMessage) Method

Definition

Executes the filter action on the supplied BrokeredMessage.

public abstract Microsoft.ServiceBus.Messaging.BrokeredMessage Execute (Microsoft.ServiceBus.Messaging.BrokeredMessage message);
abstract member Execute : Microsoft.ServiceBus.Messaging.BrokeredMessage -> Microsoft.ServiceBus.Messaging.BrokeredMessage
Public MustOverride Function Execute (message As BrokeredMessage) As BrokeredMessage

Parameters

message
BrokeredMessage

Input BrokeredMessage.

Returns

The modified BrokeredMessage after executing the rule action.

Remarks

Concrete implementation of this class is free to throw InvalidOperationException is this requires preprocessing.

Applies to