Message.Body Property

 

Gets the message body. This property should not be empty, with limited exceptions.

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

Syntax

[MessagePropertyAttribute(MessagePropertyImportance.Required, 
    CheckRecursively = true)]
public MessageBody Body { get; private set; }
public:
[MessagePropertyAttribute(MessagePropertyImportance::Required, 
    CheckRecursively = true)]
property MessageBody^ Body {
    virtual MessageBody^ get() sealed;
    private: virtual void set(MessageBody^ value) sealed;
}
<MessagePropertyAttribute(MessagePropertyImportance.Required,
    CheckRecursively := True)>
Public Property Body As MessageBody
    Get
    Private Set
End Property

Property Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.MessageBody

Implements

IMessage.Body

See Also

Message Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top