Share via


DefineAsyncDelegate<T> Delegate

Definition

Define field delegate.

public delegate System.Threading.Tasks.Task<bool> DefineAsyncDelegate<T>(T state, Field<T> field) where T : class;
type DefineAsyncDelegate<'T (requires 'T : null)> = delegate of 'T * Field<'T (requires 'T : null)> -> Task<bool>
Public Delegate Function DefineAsyncDelegate(Of T)(state As T, field As Field(Of T)) As Task(Of Boolean) 

Type Parameters

T

Form state type.

Parameters

state
T

Form state.

field
Field<T>

Field being dynamically defined.

Return Value

True if field is defined.

Remarks

Delegate for dynamically defining a field prompt and recognizer. You can make use of the fluent methods on Field<T> to change the characteristics of the field.

Applies to