ContentStream 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.
A stream of fixed or infinite length containing content to be decoded.
public class ContentStream : Microsoft.Bot.Streaming.Payloads.IContentStream
type ContentStream = class
interface IContentStream
Public Class ContentStream
Implements IContentStream
- Inheritance
-
ContentStream
- Implements
Constructors
ContentStream(Guid, PayloadStreamAssembler) |
Initializes a new instance of the ContentStream class. |
Properties
ContentType |
Gets or sets the name of the type of the object contained within this ContentStream. |
Id |
Gets a guid to use as the unique identifier of this ContentStream. |
Length |
Gets or sets the length of this ContentStream. |
Stream |
Gets the data contained within this ContentStream. |
Methods
Cancel() |
Called to cancel processing of this instance. Calls Close() on the assigned PayloadStreamAssembler. |