次の方法で共有


LegacyStreamingConnection コンストラクター

定義

オーバーロード

LegacyStreamingConnection(WebSocket, ILogger, DisconnectedEventHandler)

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

LegacyStreamingConnection(String, ILogger, DisconnectedEventHandler)

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

LegacyStreamingConnection(WebSocket, ILogger, DisconnectedEventHandler)

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

public LegacyStreamingConnection(System.Net.WebSockets.WebSocket socket, Microsoft.Extensions.Logging.ILogger logger, Microsoft.Bot.Streaming.Transport.DisconnectedEventHandler onServerDisconnect = default);
new Microsoft.Bot.Connector.Streaming.Application.LegacyStreamingConnection : System.Net.WebSockets.WebSocket * Microsoft.Extensions.Logging.ILogger * Microsoft.Bot.Streaming.Transport.DisconnectedEventHandler -> Microsoft.Bot.Connector.Streaming.Application.LegacyStreamingConnection
Public Sub New (socket As WebSocket, logger As ILogger, Optional onServerDisconnect As DisconnectedEventHandler = Nothing)

パラメーター

socket
WebSocket

WebSocketレガシ ストリーミング接続に使用するインスタンス。

logger
ILogger

トレースとデバッグ情報のロガー実装。

onServerDisconnect
DisconnectedEventHandler

トランスポート サーバーが切断されたときに実行される追加の処理コード。

適用対象

LegacyStreamingConnection(String, ILogger, DisconnectedEventHandler)

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

public LegacyStreamingConnection(string pipeName, Microsoft.Extensions.Logging.ILogger logger, Microsoft.Bot.Streaming.Transport.DisconnectedEventHandler onServerDisconnect = default);
new Microsoft.Bot.Connector.Streaming.Application.LegacyStreamingConnection : string * Microsoft.Extensions.Logging.ILogger * Microsoft.Bot.Streaming.Transport.DisconnectedEventHandler -> Microsoft.Bot.Connector.Streaming.Application.LegacyStreamingConnection
Public Sub New (pipeName As String, logger As ILogger, Optional onServerDisconnect As DisconnectedEventHandler = Nothing)

パラメーター

pipeName
String

名前付きパイプの名前。

logger
ILogger

トレースとデバッグ情報のロガー実装。

onServerDisconnect
DisconnectedEventHandler

トランスポート サーバーが切断されたときに実行される追加の処理コード。

適用対象