次の方法で共有


StreamingTransportClient コンストラクター

定義

StreamingTransportClient クラスの新しいインスタンスを初期化します。

protected StreamingTransportClient (string url, Microsoft.Bot.Streaming.RequestHandler requestHandler, TimeSpan? closeTimeOut = default, TimeSpan? keepAlive = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Connector.Streaming.Application.StreamingTransportClient : string * Microsoft.Bot.Streaming.RequestHandler * Nullable<TimeSpan> * Nullable<TimeSpan> * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Streaming.Application.StreamingTransportClient
Protected Sub New (url As String, requestHandler As RequestHandler, Optional closeTimeOut As Nullable(Of TimeSpan) = Nothing, Optional keepAlive As Nullable(Of TimeSpan) = Nothing, Optional logger As ILogger = Nothing)

パラメーター

url
String

接続するサーバー URL。

requestHandler
RequestHandler

このクライアント インスタンスへの受信要求を受信するハンドラー。

closeTimeOut
Nullable<TimeSpan>

クライアント接続を閉じるための省略可能なタイムアウト。

keepAlive
Nullable<TimeSpan>

予防的な切断検出のために、キープアライブ間のオプションの間隔。 null が指定されている場合、キープ アライブは送信されません。

logger
ILogger

ILogger クライアントの場合は 。

適用対象