語言

WebSocketStreamingConnection 類別

定義

WebSocket 傳輸的預設實作 StreamingConnection 。

public class WebSocketStreamingConnection : Microsoft.Bot.Connector.Streaming.Application.StreamingConnection
type WebSocketStreamingConnection = class
    inherit StreamingConnection
Public Class WebSocketStreamingConnection
Inherits StreamingConnection
繼承
WebSocketStreamingConnection

建構函式

名稱 Description
WebSocketStreamingConnection(WebSocket, ILogger)

初始化 WebSocketStreamingConnection 類別的新執行個體。

屬性

名稱 Description
IsConnected

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

(繼承來源 StreamingConnection)
Logger

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

(繼承來源 StreamingConnection)

方法

名稱 Description
Dispose()

WebSocket 傳輸的預設實作 StreamingConnection 。

(繼承來源 StreamingConnection)
Dispose(Boolean)

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

(繼承來源 StreamingConnection)
ListenAsync(RequestHandler, CancellationToken)

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

(繼承來源 StreamingConnection)
SendStreamingRequestAsync(StreamingRequest, CancellationToken)

透過連線傳送串流要求。

(繼承來源 StreamingConnection)

適用於