PromptValidatorContext<T>.AttemptCount 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取执行提示的此实例的次数。
public int AttemptCount { get; }
member this.AttemptCount : int
Public ReadOnly Property AttemptCount As Integer
属性值
一个数字表示提示被调用了多少次(第一次被调用时从1开始)。
注解
当提示添加到对话框堆栈时,将设置此计数。