Share via


ServiceBusPlugin.BeforeMessageSend(Message) Method

Definition

This operation is called before a message is sent.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.ServiceBus.Message> BeforeMessageSend (Microsoft.Azure.ServiceBus.Message message);
abstract member BeforeMessageSend : Microsoft.Azure.ServiceBus.Message -> System.Threading.Tasks.Task<Microsoft.Azure.ServiceBus.Message>
override this.BeforeMessageSend : Microsoft.Azure.ServiceBus.Message -> System.Threading.Tasks.Task<Microsoft.Azure.ServiceBus.Message>
Public Overridable Function BeforeMessageSend (message As Message) As Task(Of Message)

Parameters

message
Message

The Message to be modified by the plugin

Returns

The modified Message

Applies to