Manager. On Receive(Header, Stream, Int32) Method
Used to set the behavior of the managed PayloadStreamAssembler when data is received.
public void OnReceive (Microsoft.Bot.Streaming.Payloads.Header header, System.IO.Stream contentStream, int contentLength);
abstract member OnReceive : Microsoft.Bot.Streaming.Payloads.Header * System.IO.Stream * int -> unit
Public Sub OnReceive (header As Header, contentStream As Stream, contentLength As Integer)
The amount of data to write to the contentStream.