CloudAdapter.ConnectNamedPipeAsync 方法

定义

用于将适配器连接到命名管道。

public System.Threading.Tasks.Task ConnectNamedPipeAsync (string pipeName, Microsoft.Bot.Builder.IBot bot, string appId, string audience, string callerId);
member this.ConnectNamedPipeAsync : string * Microsoft.Bot.Builder.IBot * string * string * string -> System.Threading.Tasks.Task
Public Function ConnectNamedPipeAsync (pipeName As String, bot As IBot, appId As String, audience As String, callerId As String) As Task

参数

pipeName
String

命名管道的名称。

bot
IBot

要使用的机器人实例。

appId
String

机器人的应用程序 ID。

audience
String

用于出站通信的受众。 这将因云环境而异。

callerId
String

callerId,这可能为 NULL。

返回

一个 Task ,表示排队要执行的工作。

适用于