PayloadStreamAssembler.OnReceive(Header, Stream, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The action the assembler executes when new bytes are received on the incoming stream.
public void OnReceive (Microsoft.Bot.Streaming.Payloads.Header header, System.IO.Stream stream, int contentLength);
abstract member OnReceive : Microsoft.Bot.Streaming.Payloads.Header * System.IO.Stream * int -> unit
override this.OnReceive : Microsoft.Bot.Streaming.Payloads.Header * System.IO.Stream * int -> unit
Public Sub OnReceive (header As Header, stream As Stream, contentLength As Integer)
Parameters
- stream
- Stream
The incoming stream being assembled.
- contentLength
- Int32
The length of the stream, if finite.