Share via


ValidateAsyncDelegate<T> Delegate

Definition

A delegate for validating a particular response to a prompt.

public delegate System.Threading.Tasks.Task<Microsoft.Bot.Builder.FormFlow.ValidateResult> ValidateAsyncDelegate<T>(T state, object value);
type ValidateAsyncDelegate<'T> = delegate of 'T * obj -> Task<ValidateResult>
Public Delegate Function ValidateAsyncDelegate(Of T)(state As T, value As Object) As Task(Of ValidateResult) 

Type Parameters

T

Form state type.

Parameters

state
T

Form state to test.

value
Object

Response value to validate.

Return Value

ValidateResult describing validity, transformed value, feedback or choices for clarification.

Applies to