Sdílet prostřednictvím


Message.Body Property

Definition

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