次の方法で共有


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)
古い.

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

プロパティ

IsConnected
古い.

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

(継承元 StreamingConnection)
Logger
古い.

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

(継承元 StreamingConnection)

メソッド

Dispose()
古い.

レガシ ボットで使用される StreamingConnection

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

基になる StreamingConnectionのマネージド リソースとアンマネージド リソースを破棄します。

ListenAsync(RequestHandler, CancellationToken)
古い.

StreamingConnection を開き、受信要求をリッスンします。この要求は、組み立てられ、指定された RequestHandlerに送信されます。

SendStreamingRequestAsync(StreamingRequest, CancellationToken)
古い.

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

適用対象