IMessageSender Interface

 

Interface to use for sending and receiving messages.

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

public interface class IMessageSender

NameDescription
System_CAPS_pubmethodSendAsync(IMessage^)

Sends a message but doesn't receive a reply asynchronously.

System_CAPS_pubmethodSendSync(IMessage^)

Sends a message and retrieves the reply synchronously.

NameDescription
System_CAPS_pubeventOnReceived

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.

System_CAPS_pubeventOnSend

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.

Return to top
Show: