Table of Contents

Method Create

Namespace
MailFathom.Application.Retrieval
Assembly
MailFathom.Application.dll

Create(string?)

Validates and normalizes the text a caller asked.

public static MailQuestionText Create(string? text)

Parameters

text string

The question a caller supplied.

Returns

MailQuestionText

The validated question.

Remarks

Blank text is refused rather than sent. A run composed around no question would spend a provider call to be asked nothing, and whatever the model then wrote would be an answer to the instruction alone.

Exceptions

MailboxQueryFilterInvalidException

Thrown when the text is blank, longer than MaximumLength, or carries a control character.