PromptValidatorContext<T>.AttemptCount Property
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.
Gets the number of times this instance of the prompt has been executed.
public int AttemptCount { get; }
member this.AttemptCount : int
Public ReadOnly Property AttemptCount As Integer
Property Value
A number indicating how many times the prompt was invoked (starting at 1 for the first time it was called).
Remarks
This count is set when the prompt is added to the dialog stack.