PromptValidatorContext<T> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含 . 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 |
取得相關聯提示實例的狀態。 |