共用方式為


IWait<C>.PollAsync(IFiber<C>, C, CancellationToken) 方法

定義

public System.Threading.Tasks.Task<Microsoft.Bot.Builder.Internals.Fibers.IWait<C>> PollAsync (Microsoft.Bot.Builder.Internals.Fibers.IFiber<C> fiber, C context, System.Threading.CancellationToken token);
abstract member PollAsync : Microsoft.Bot.Builder.Internals.Fibers.IFiber<'C> * 'C * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Internals.Fibers.IWait<'C>>
Public Function PollAsync (fiber As IFiber(Of C), context As C, token As CancellationToken) As Task(Of IWait(Of C))

參數

fiber
IFiber<C>
context
C

傳回

Task<IWait<C>>

適用於