語言

ContentStream 類別

定義

固定或無限長度的數據流,包含要譯碼的內容。

public class ContentStream : Microsoft.Bot.Streaming.Payloads.IContentStream
type ContentStream = class
    interface IContentStream
Public Class ContentStream
Implements IContentStream
繼承
ContentStream
實作

建構函式

名稱 Description
ContentStream(Guid, PayloadStreamAssembler)

初始化 ContentStream 類別的新執行個體。

屬性

名稱 Description
ContentType

取得或設定此 ContentStream 中物件類型名稱。

Id

會獲得一個 guid,作為這個 ContentStream 的唯一識別碼。

Length

取得或設定此內容流的長度。

Stream

取得此 ContentStream 中的資料。

方法

名稱 Description
Cancel()

被呼叫取消此實例的處理。 在分配 PayloadStreamAssembler的 .

適用於