IWait<C>.PollAsync(IFiber<C>, C, CancellationToken) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
- token
- CancellationToken