Method GetPayload
GetPayload()
Gets the array segment containing the raw message payload. This method returns a view into the original array without copying any data.
public ArraySegment<byte> GetPayload()
Returns
- ArraySegment<byte>
An ArraySegment<T> delimiting the message payload section of the message bytes.