DialogTask 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public DialogTask (Func<System.Threading.CancellationToken,Microsoft.Bot.Builder.Dialogs.IDialogContext> makeContext, Microsoft.Bot.Builder.Internals.Fibers.IStore<Microsoft.Bot.Builder.Internals.Fibers.IFiberLoop<Microsoft.Bot.Builder.Dialogs.Internals.DialogTask>> store, Microsoft.Bot.Builder.Base.IEventProducer<Microsoft.Bot.Connector.IActivity> queue);
new Microsoft.Bot.Builder.Dialogs.Internals.DialogTask : Func<System.Threading.CancellationToken, Microsoft.Bot.Builder.Dialogs.IDialogContext> * Microsoft.Bot.Builder.Internals.Fibers.IStore<Microsoft.Bot.Builder.Internals.Fibers.IFiberLoop<Microsoft.Bot.Builder.Dialogs.Internals.DialogTask>> * Microsoft.Bot.Builder.Base.IEventProducer<Microsoft.Bot.Connector.IActivity> -> Microsoft.Bot.Builder.Dialogs.Internals.DialogTask
Public Sub New (makeContext As Func(Of CancellationToken, IDialogContext), store As IStore(Of IFiberLoop(Of DialogTask)), queue As IEventProducer(Of IActivity))
參數
- makeContext
- Func<CancellationToken,IDialogContext>
- store
- IStore<IFiberLoop<DialogTask>>
- queue
- IEventProducer<IActivity>