ActivityFactory.FromObject(Object) 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.
Generate the activity. Support Both string LG result and structured LG result.
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
Parameters
- lgResult
- Object
lg result from languageGenerator.
Returns
activity.