ValidateAsyncDelegate<T> Delegate
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.
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.