Share via


PromptValidatorContext<T> Class

Definition

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.

Applies to