Share via


AwaitableAttachment.ValidateAsync<T>(IField<T>, T) Method

Definition

public virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.FormFlow.ValidateResult> ValidateAsync<T> (Microsoft.Bot.Builder.FormFlow.Advanced.IField<T> field, T state) where T : class;
abstract member ValidateAsync : Microsoft.Bot.Builder.FormFlow.Advanced.IField<'T (requires 'T : null)> * 'T -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.FormFlow.ValidateResult> (requires 'T : null)
override this.ValidateAsync : Microsoft.Bot.Builder.FormFlow.Advanced.IField<'T (requires 'T : null)> * 'T -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.FormFlow.ValidateResult> (requires 'T : null)
Public Overridable Function ValidateAsync(Of T As Class) (field As IField(Of T), state As T) As Task(Of ValidateResult)

Type Parameters

T

Parameters

field
IField<T>
state
T

Returns

Applies to