ActivityFactory.FromObject(Object) 方法

定义

生成活动。 支持字符串 LG 结果和结构化 LG 结果。

public static Microsoft.Bot.Schema.Activity FromObject (object lgResult);
static member FromObject : obj -> Microsoft.Bot.Schema.Activity
Public Shared Function FromObject (lgResult As Object) As Activity

参数

lgResult
Object

lg result from languageGenerator.

返回

cmdlet。

适用于