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");
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET