PromptAsyncDelegate<T> Délégué
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Un délégué pour styliser et publier un prompt.
public delegate System.Threading.Tasks.Task<Microsoft.Bot.Builder.FormFlow.Advanced.FormPrompt> PromptAsyncDelegate<T>(IDialogContext context, FormPrompt prompt, T state, IField<T> field) where T : class;
type PromptAsyncDelegate<'T (requires 'T : null)> = delegate of IDialogContext * FormPrompt * 'T * IField<'T (requires 'T : null)> -> Task<FormPrompt>
Public Delegate Function PromptAsyncDelegate(Of T)(context As IDialogContext, prompt As FormPrompt, state As T, field As IField(Of T)) As Task(Of FormPrompt)
Paramètres de type
- T
Paramètres
- context
- IDialogContext
Contexte du message.
- prompt
- FormPrompt
Invite à publier.
- state
- T
État du formulaire.
- field
- IField<T>
Champ invité ou nul s’il n’est pas un champ.
Valeur renvoyée
Prompt qui a été posté.