MsmqMessage<T>.Body Właściwość

Definicja

Pobiera lub ustawia treść wiadomości.

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

Wartość właściwości

T

Treść wiadomości.

Wyjątki

Treść komunikatu ma wartość null.

Przykłady

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

Dotyczy