語言

PromptValidatorContext<T> 類別

定義

包含 . PromptValidator<T>的上下文資訊。

public class PromptValidatorContext<T>
type PromptValidatorContext<'T> = class
Public Class PromptValidatorContext(Of T)

類型參數

T

提示傳回的值型別。

繼承
PromptValidatorContext<T>

屬性

名稱 Description
AttemptCount

取得執行這個提示實例的次數。

Context

取得目前與使用者交談回合的 TurnContext。

Options

取得用於這個辨識嘗試的 PromptOptions。

Recognized

從提示的辨識嘗試中獲得回傳 PromptRecognizerResult<T> 。

State

取得相關聯提示實例的狀態。

適用於