語言

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
屬性

建構函式

名稱 Description
LegacyStreamingConnection(String, ILogger, DisconnectedEventHandler)
已淘汰.

初始化使用命名管道的類別新實例 LegacyStreamingConnection 。

LegacyStreamingConnection(WebSocket, ILogger, DisconnectedEventHandler)
已淘汰.

初始化使用網頁套接字的新類別實例 LegacyStreamingConnection 。

屬性

名稱 Description
IsConnected
已淘汰.

取得值,指出這個 目前是否已連接。

(繼承來源 StreamingConnection)
Logger
已淘汰.

它會取得 ILogger 串流連線的實例。

(繼承來源 StreamingConnection)

方法

名稱 Description
Dispose()
已淘汰.

StreamingConnection這是給傳統機器人使用的。

(繼承來源 StreamingConnection)
Dispose(Boolean)
已淘汰.

處置基礎資產 StreamingConnection中可管理與非可管理的資源。

ListenAsync(RequestHandler, CancellationToken)
已淘汰.

打開並 StreamingConnection 監聽收到的請求,這些請求會被彙整並傳送到所提供的 RequestHandler。

SendStreamingRequestAsync(StreamingRequest, CancellationToken)
已淘汰.

透過連線傳送串流要求。

適用於