LegacyStreamingConnection コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 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)
パラメーター
- 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
トランスポート サーバーが切断されたときに実行される追加の処理コード。