LegacyStreamingConnection クラス

定義

注意事項

Use WebSocketStreamingConnection instead.

レガシーボットが使う StreamingConnection

[System.Obsolete("Use `WebSocketStreamingConnection` instead.", false)]
public class LegacyStreamingConnection : Microsoft.Bot.Connector.Streaming.Application.StreamingConnection
[<System.Obsolete("Use `WebSocketStreamingConnection` instead.", false)>]
type LegacyStreamingConnection = class
    inherit StreamingConnection
Public Class LegacyStreamingConnection
Inherits StreamingConnection
継承
LegacyStreamingConnection
属性

コンストラクター

名前 説明
LegacyStreamingConnection(String, ILogger, DisconnectedEventHandler)
古い.

名前付きパイプを使用する LegacyStreamingConnection クラスの新しいインスタンスを初期化します。

LegacyStreamingConnection(WebSocket, ILogger, DisconnectedEventHandler)
古い.

ウェブソケットを使用する LegacyStreamingConnection クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
IsConnected
古い.

これが現在接続されているかどうかを示す値を取得します。

(継承元 StreamingConnection)
Logger
古い.

ストリーミング接続の ILogger インスタンスを取得します。

(継承元 StreamingConnection)

メソッド

名前 説明
Dispose()
古い.

レガシーボットが使う StreamingConnection

(継承元 StreamingConnection)
Dispose(Boolean)
古い.

基礎 StreamingConnectionの管理済みおよび非管理型の資源を処分します。

ListenAsync(RequestHandler, CancellationToken)
古い.

StreamingConnectionを開き、受信リクエストを受信し、それらは組み立てられて提供されたRequestHandlerに送信されます。

SendStreamingRequestAsync(StreamingRequest, CancellationToken)
古い.

接続を介してストリーミング要求を送信します。

適用対象