Jaa


NamedPipeServer(String, RequestHandler, Boolean) Constructor

Definition

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.

Applies to