PayloadStreamAssembler Class
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.
An IAssembler specific to payload streams.
public class PayloadStreamAssembler : Microsoft.Bot.Streaming.Payloads.IAssembler
type PayloadStreamAssembler = class
interface IAssembler
Public Class PayloadStreamAssembler
Implements IAssembler
- Inheritance
-
PayloadStreamAssembler
- Implements
Constructors
PayloadStreamAssembler(IStreamManager, Guid, String, Nullable<Int32>) |
Initializes a new instance of the PayloadStreamAssembler class. |
PayloadStreamAssembler(IStreamManager, Guid) |
Initializes a new instance of the PayloadStreamAssembler class. |
Properties
ContentLength |
Gets or sets the length of the content contained in the payload. |
ContentType |
Gets or sets the type of the content contained in the payload. |
End |
Gets a value indicating whether true if the current segment is the final segment of the stream. |
Id |
Gets the ID of this assembler. |
Methods
Close() |
Closes the assembler. |
CreateStreamFromPayload() |
Creates a new stream populated with the bytes of the assembler's payload. |
GetPayloadAsStream() |
Returns the assembler's payload as a stream. |
OnReceive(Header, Stream, Int32) |
The action the assembler executes when new bytes are received on the incoming stream. |