NamedPipeServer(String, RequestHandler, Boolean) 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 NamedPipeServer class. Throws ArgumentNullException on null arguments.
public NamedPipeServer (string baseName, Microsoft.Bot.Streaming.RequestHandler requestHandler, bool autoReconnect = true);
new Microsoft.Bot.Streaming.Transport.NamedPipes.NamedPipeServer : string * Microsoft.Bot.Streaming.RequestHandler * bool -> Microsoft.Bot.Streaming.Transport.NamedPipes.NamedPipeServer
Public Sub New (baseName As String, requestHandler As RequestHandler, Optional autoReconnect As Boolean = true)
Parameters
- baseName
- String
The named pipe to connect to.
- requestHandler
- RequestHandler
A RequestHandler to process incoming messages received by this server.
- autoReconnect
- Boolean
Optional setting to determine if the server sould attempt to reconnect automatically on disconnection events. Defaults to true.