ContentStream クラス

定義

デコードするコンテンツを含む固定長または無限長のストリーム。

public class ContentStream : Microsoft.Bot.Streaming.Payloads.IContentStream
type ContentStream = class
    interface IContentStream
Public Class ContentStream
Implements IContentStream
継承
ContentStream
実装

コンストラクター

名前 説明
ContentStream(Guid, PayloadStreamAssembler)

ContentStream クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
ContentType

このContentStreamに含まれるオブジェクトの型名を取得するか設定します。

Id

このContentStreamの一意識別子として使うためのguidを手に入れます。

Length

このコンテンツストリームの長さを取得または設定します。

Stream

このContentStreamに含まれるデータを取得します。

メソッド

名前 説明
Cancel()

このインスタンスの処理をキャンセルするために呼び出しました。 割り当てられた PayloadStreamAssemblerでClose()を呼び出します。

適用対象