IMessageSender.OnReceived Event

 

An event that fires after a message is received. The message contents can be changed before the message is returned to the caller. Only SendSync fires this event; SendAsync does not.

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

Syntax

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

See Also

IMessageSender Interface
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top