Partager via


AwaitableAttachment.ValidateAsync<T>(IField<T>, T) Méthode

Définition

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)

Paramètres de type

T

Paramètres

field
IField<T>
state
T

Retours

S’applique à