Share via


ValidateResult Class

Definition

Encapsulates the result of a ValidateAsyncDelegate<T>

public class ValidateResult
type ValidateResult = class
Public Class ValidateResult
Inheritance
ValidateResult

Remarks

If IsValid is true, then the field will be set to Value. Otherwise if Choices is non-null they will be used to select a clarifying value. if FeedbackCard is non-null the resulting card will be displayed. Otherwise the Feedback string will be shown to provide feedback on the value.

Constructors

ValidateResult()

Fields

Choices

Choices for clarifying response.

Feedback

Feedback to provide back to the user on the input.

FeedbackCard

Fully specified feedback card.

IsValid

True if value is a valid response.

Value

Value to put in the field if result is valid.

Applies to