語言

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

呼叫 ID,這可能是 NULL。

傳回

Task,表示要執行的工作佇列。

適用於