Message.Body Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the body of the message.
public byte[] Body { get; set; }
member this.Body : byte[] with get, set
Public Property Body As Byte()
Property Value
Byte[]
Remarks
The easiest way to create a new message from a string is the following:
message.Body = System.Text.Encoding.UTF8.GetBytes("Message1");