MessageDelegate<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.
Donné state return a PromptAttribute avec un modèle à afficher pour le message.
public delegate System.Threading.Tasks.Task<Microsoft.Bot.Builder.FormFlow.PromptAttribute> MessageDelegate<T>(T state);
type MessageDelegate<'T> = delegate of 'T -> Task<PromptAttribute>
Public Delegate Function MessageDelegate(Of T)(state As T) As Task(Of PromptAttribute)
Paramètres de type
- T
Type d’état de forme.
Paramètres
- state
- T
Forme d’état.
Valeur renvoyée
Un PromptAttribute décrivant le message à afficher.