IStreamManager.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.
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)
Parameters
- contentLength
- Int32
The amount of data to write to the contentStream.