Sdílet prostřednictvím


LegacyStreamingConnection Třída

Definice

Upozornění

Use WebSocketStreamingConnection instead.

StreamingConnection, které budou používat starší roboti.

[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
Dědičnost
LegacyStreamingConnection
Atributy

Konstruktory

LegacyStreamingConnection(String, ILogger, DisconnectedEventHandler)
Zastaralé.

Inicializuje novou instanci LegacyStreamingConnection třídy, která používá pojmenované kanály.

LegacyStreamingConnection(WebSocket, ILogger, DisconnectedEventHandler)
Zastaralé.

Inicializuje novou instanci LegacyStreamingConnection třídy, která používá webové sokety.

Vlastnosti

IsConnected
Zastaralé.

Získá hodnotu označující, zda je tato hodnota aktuálně připojena.

(Zděděno od StreamingConnection)
Logger
Zastaralé.

Získá instanci ILogger pro připojení ke streamování.

(Zděděno od StreamingConnection)

Metody

Dispose()
Zastaralé.

StreamingConnection, které budou používat starší roboti.

(Zděděno od StreamingConnection)
Dispose(Boolean)
Zastaralé.

Odstraní spravované a nespravované prostředky základního StreamingConnection.

ListenAsync(RequestHandler, CancellationToken)
Zastaralé.

Otevře StreamingConnection a naslouchá příchozím požadavkům, které se sestaví a odešlou do poskytnuté RequestHandler.

SendStreamingRequestAsync(StreamingRequest, CancellationToken)
Zastaralé.

Odešle žádost o streamování prostřednictvím připojení.

Platí pro