[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Interface used to send/receive Messages

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
interface 
IMessageSender
Public 
Interface 
IMessageSender
public 
interface class 
IMessageSender

Members

                 
  All Members     Methods      Events   
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

  Member Description
OnReceived
Event that is fired 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 will not fire this event.
OnSend
Event that is fired 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.
SendAsync(IMessage)
Send a message and don't get a reply asynchronously
SendSync(IMessage)
Send the message and retrieve the reply synchronously

See Also