語言

BuildFormDelegate<T> 代理人

定義

負責建立表單的委託人。

public delegate Microsoft.Bot.Builder.FormFlow.IForm<T> BuildFormDelegate<T>() where T : class;
type BuildFormDelegate<'T (requires 'T : null)> = delegate of unit -> IForm<'T (requires 'T : null)>
Public Delegate Function BuildFormDelegate(Of T)() As IForm(Of T) 

類型參數

T

表單是狀態類型。

傳回值

一個IForm<T>。

備註

這是一個代理,讓我們可以重建表單,不必每次訊息都序列化表單定義。

適用於