ConfigMgrPolicyBodyDownloadRequest.SendMessage Method (IMessageSender)
Sends the message and gets a reply with the policy message.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public override ConfigMgrPolicyBodyDownloadReply SendMessage(
IMessageSender sender
)
public:
virtual ConfigMgrPolicyBodyDownloadReply^ SendMessage(
IMessageSender^ sender
) override
Public Overrides Function SendMessage (
sender As IMessageSender
) As ConfigMgrPolicyBodyDownloadReply
Parameters
sender
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessageSenderThe message sender
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Messages.ConfigMgrPolicyBodyDownloadReply
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if there are no PolicyAssignmentPolicyLocation objects in the internal store. If this occurs, see trace logging for more information. |
See Also
ConfigMgrPolicyBodyDownloadRequest Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top