S101ReaderPayload Property |
Namespace: Lawo.EmberPlusSharp.S101
Exception | Condition |
---|---|
InvalidOperationException |
|
ObjectDisposedException | DisposeAsync(CancellationToken) has been called. |
Call any of the Read methods on the returned NonSeekableStream object to obtain the payload.
If a message contains multiple packets, their payload is automatically joined such that it can be read through the returned stream as if the message consisted of only one packet.
If the current message does not have a payload or if the end of the payload has been reached, return values from Read method calls will indicate that the end of the stream has been reached.
Read methods of the returned Stream object will throw S101Exception to signal parsing errors, see Message for more information.