Share via


FileSender.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

public event EventHandler<MessageSenderEventArgs> OnReceived
public:
event EventHandler<MessageSenderEventArgs^>^ OnReceived {
    virtual void add(EventHandler<MessageSenderEventArgs^>^ value) sealed;
    virtual void remove(EventHandler<MessageSenderEventArgs^>^ value) sealed;
}
Public Event OnReceived As EventHandler(Of MessageSenderEventArgs)

Implements

IMessageSender.OnReceived

See Also

FileSender Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top