Language

StreamingTransportClient クラス

定義

Bot Framework Protocol 3とStreaming Extensionsで互換性のあるクライアントによって実装されています。

public abstract class StreamingTransportClient : IDisposable, Microsoft.Bot.Streaming.Transport.IStreamingTransportClient
type StreamingTransportClient = class
    interface IStreamingTransportClient
    interface IDisposable
Public MustInherit Class StreamingTransportClient
Implements IDisposable, IStreamingTransportClient
継承
StreamingTransportClient
派生
実装

コンストラクター

名前 説明
StreamingTransportClient(String, RequestHandler, Nullable<TimeSpan>, Nullable<TimeSpan>, ILogger)

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

プロパティ

名前 説明
IsConnected

このクライアントが現在接続されているかどうかを示す値が付与されます。

Logger

ストリーミングクライアントの ILogger インスタンスを取得します。

メソッド

名前 説明
ConnectAsync()

このタスクはこのクライアントの接続を確立するために使われました。

ConnectAsync(IDictionary<String,String>, CancellationToken)

クライアント接続を確立し、追加のヘッダーとキャンセルトークンを渡します。

ConnectAsync(IDictionary<String,String>)

追加のヘッダーを渡して接続を確立します。

Disconnect()

このクライアントを切断する際に使われた方法。

DisconnectAsync()

切断。

Dispose()

Bot Framework Protocol 3とStreaming Extensionsで互換性のあるクライアントによって実装されています。

Dispose(Boolean)

StreamingTransportClientが使用する物品を処分します。

SendAsync(StreamingRequest, CancellationToken)

このクライアント接続経由でデータを送信するために使用されるタスク。

イベント

名前 説明
Disconnected

基盤となる接続が切断されたことを知らせるイベントです。

適用対象