BotFrameworkHttpAdapterBase.ConnectNamedPipeAsync Method
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.
Creates a new StreamingRequestHandler to listen to the specified Named Pipe and pass requests to this adapter.
public System.Threading.Tasks.Task ConnectNamedPipeAsync (string pipeName, Microsoft.Bot.Builder.IBot bot, string audience = default);
member this.ConnectNamedPipeAsync : string * Microsoft.Bot.Builder.IBot * string -> System.Threading.Tasks.Task
Public Function ConnectNamedPipeAsync (pipeName As String, bot As IBot, Optional audience As String = Nothing) As Task
Parameters
- pipeName
- String
The name of the Named Pipe to connect to.
- bot
- IBot
The bot to use when processing activities received over the Named Pipe.
- audience
- String
The specified recipient of all outgoing activities.
Returns
A task that completes only once the StreamingRequestHandler has stopped listening for incoming requests on the Named Pipe.