NamedPipeClient Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the NamedPipeClient class.
public NamedPipeClient (string pipeName, 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.NamedPipeClient : string * string * Microsoft.Bot.Streaming.RequestHandler * Nullable<TimeSpan> * Nullable<TimeSpan> * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Streaming.Application.NamedPipeClient
Public Sub New (pipeName As String, 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)
Parameters
- pipeName
- String
The name of the named pipe that will initiate connection to a server.
- url
- String
The server URL to connect to.
- requestHandler
- RequestHandler
Handler that will receive incoming requests to this client instance.
Optional spacing between keep alives for proactive disconnection detection. If null is provided, no keep alives will be sent.