Constructor AgentAnswerEnded
- Namespace
- MailFathom.Application.Agent.Conversations
- Assembly
- MailFathom.Application.dll
AgentAnswerEnded(AgentMessageId, AgentAnswerOutcome, IReadOnlyList<PresentationText>?)
The answer stopped being composed, and this says how.
public AgentAnswerEnded(AgentMessageId MessageId, AgentAnswerOutcome Outcome, IReadOnlyList<PresentationText>? FollowUps = null)
Parameters
MessageIdAgentMessageIdThe answer that has ended.
OutcomeAgentAnswerOutcomeHow it stopped.
FollowUpsIReadOnlyList<PresentationText>The questions the agent suggests asking next, and null or empty where it suggested none.
Remarks
Recorded rather than inferred from nothing further arriving, because a conversation read later has no other way to tell an answer that finished from one whose replica went away mid-run. Nothing it composed is removed or rolled back by any of the three outcomes: what arrived stays, and the record says what happened to the rest.
The suggested follow-ups ride on the ending rather than in an entry of their own. They belong to an answer that finished, so they exist exactly when this does and never before it; and a member an older build does not know is one it reads past, where a kind it does not know is a row it cannot read at all — which is what a rolling upgrade would hand it. Each is text and never an act: pressing one asks it as a question, and nothing else.
Exceptions
- ArgumentOutOfRangeException
Thrown when
Outcomeis not a declared member, or when more follow-ups are suggested than an answer may carry.- ArgumentException
Thrown when an answer that did not complete suggests follow-ups, or when one is empty, longer than a line allows, or more than one line.