Method ComposeAsync
- Namespace
- MailFathom.Application.Agent.Answering
- Assembly
- MailFathom.Application.dll
ComposeAsync(PresentationBlock, CancellationToken)
Writes a block of the answer, every source of which has to be declared already.
public Task<bool> ComposeAsync(PresentationBlock block, CancellationToken cancellationToken)
Parameters
blockPresentationBlockThe block, which the person only reads.
cancellationTokenCancellationTokenCancels the write.
Returns
Exceptions
- ArgumentNullException
Thrown when
blockis null.- ArgumentException
Thrown when the block names a source nothing declared, or is one a person acts on.