Partager via


IMessageSender.OnSend Event

 

An event that fires before a message is sent. The message contents can be changed before the message is delivered or inspected. Both SendSync and SendAsync fire this event.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

event EventHandler<MessageSenderEventArgs> OnSend
event EventHandler<MessageSenderEventArgs^>^ OnSend {
    void add(EventHandler<MessageSenderEventArgs^>^ value);
    void remove(EventHandler<MessageSenderEventArgs^>^ value);
}
Event OnSend As EventHandler(Of MessageSenderEventArgs)

See Also

IMessageSender Interface
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top