MessageDelegate<T> 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
给定 state 后返回 PromptAttribute 带有显示消息模板的A。
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)
类型参数
- T
表格状态类型。
参数
- state
- T
表格州。
返回值
一个描述要显示消息的PromptAttribute。