Method GetTimestampedPayloadUInt64
GetTimestampedPayloadUInt64()
Returns the message payload as a single 64-bit unsigned integer and gets the message timestamp.
public Timestamped<ulong> GetTimestampedPayloadUInt64()
Returns
- Timestamped<ulong>
A timestamped ulong representing the message payload.
Exceptions
- InvalidOperationException
The message does not have a timestamped payload.
GetTimestampedPayloadUInt64(int)
Returns the element at the specified index of the 64-bit unsigned integer array payload and gets the message timestamp.
public Timestamped<ulong> GetTimestampedPayloadUInt64(int index)
Parameters
index
intThe zero-based index of the array element to get.
Returns
- Timestamped<ulong>
A timestamped ulong representing the element at the specified index of the array payload.
Exceptions
- InvalidOperationException
The message does not have a timestamped payload.