Bearbeiten

MsmqMessage<T>.Body Property

Definition

Gets or sets the body of the message.

public:
 property T Body { T get(); void set(T value); };
public T Body { get; set; }
member this.Body : 'T with get, set
Public Property Body As T

Property Value

T

The body of the message.

Exceptions

Message body is null.

Examples

string body = message.Body;
Dim body = message.Body

Applies to