PromptValidatorContext<T> 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.
Contains context information for a PromptValidator<T>.
public class PromptValidatorContext<T>
type PromptValidatorContext<'T> = class
Public Class PromptValidatorContext(Of T)
Type Parameters
- T
The type of value the prompt returns.
- Inheritance
-
PromptValidatorContext<T>
Properties
AttemptCount |
Gets the number of times this instance of the prompt has been executed. |
Context |
Gets the TurnContext for the current turn of conversation with the user. |
Options |
Gets the PromptOptions used for this recognition attempt. |
Recognized |
Gets the PromptRecognizerResult<T> returned from the prompt's recognition attempt. |
State |
Gets state for the associated prompt instance. |