StartAsync 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
封裝一個代表程式碼的方法來啟動對話。
public delegate System.Threading.Tasks.Task StartAsync(IDialogContext context);
type StartAsync = delegate of IDialogContext -> Task
Public Delegate Function StartAsync(context As IDialogContext) As Task
參數
- context
- IDialogContext
對話框內容。
傳回值
一個代表對話起始程式碼的任務。