ConversationResult Class
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.
Once we have peformed the "actions" requested by the customer, we POST back to customer callback Url with this "result" object.
public class ConversationResult : Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ConversationBase
type ConversationResult = class
inherit ConversationBase
Public Class ConversationResult
Inherits ConversationBase
- Inheritance
Constructors
ConversationResult() |
Properties
AppId |
AppId of the customer ( if any ) (Inherited from ConversationBase) |
AppState |
Opaque string to facilitate app developers to pass their custom data in this field. This field is the same value that was passed 'response' by the customer. (Inherited from ConversationBase) |
CallState |
Current state of the Call |
Id |
Conversation Id (Inherited from ConversationBase) |
Links |
Any links we want to surface to the customer for them to invoke us back on. (Inherited from ConversationBase) |
OperationOutcome |
a. We would always return the outcome : i. of the last operation if all operations were performed successfully OR ii. outcome of first failed operation b. If any operation fails, then we immediately callback the customer webservice with the outcome, and skip processing other operations defined in the "actions" list. c. If no callback link is provided, then we keep performing all specified operations, until i. we hit the end - then we hangup (if call connected to server call agent) ii. We hit a failure - then we hangup (if call connected to server call agent) iii. We hit a max call duration timeout - then we hangup (if call connected to server call agent) d. Any validation failure of this response object would result in us returning the WorkflowValidationOutcome object to the customer's callback url and not proceed with any defined actions. |
Methods
Validate() |