AdhocMessage.SendMessage Method (IMessageSender)
Sends a message. Ensure that you set the SetSenderType method before using this method.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public IMessage SendMessage(
IMessageSender sender
)
public:
IMessage^ SendMessage(
IMessageSender^ sender
)
Public Function SendMessage (
sender As IMessageSender
) As IMessage
Parameters
sender
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessageSenderThe message sender.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessage
See Also
AdhocMessage Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top