共用方式為


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

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

Implements

IMessageSender.OnSend

See Also

FileSender Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top