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