DefineAsyncDelegate<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.
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.