Table of Contents

Interface MessageBody

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public interface MessageBody

Properties

Length

long? Length { get; }

Property Value

long?

Methods

GetBytes()

Return the message body as a byte array

byte[] GetBytes()

Returns

byte[]

GetStream()

Return the message body as a stream

Stream GetStream()

Returns

Stream

GetString()

Return the message body as a string

string GetString()

Returns

string