IWait<C,T> 接口

定义

public interface IWait<C,out T> : ICloneable, Microsoft.Bot.Builder.Internals.Fibers.IWait<C>
type IWait<'C, 'T> = interface
    interface IWait<'C>
    interface IWait
    interface ICloneable
Public Interface IWait(Of C, Out T)
Implements ICloneable, IWait(Of C)

类型参数

C
T
这是协变类型参数。 即,可以使用指定的类型,也可以使用派生程度较高的任何类型。 有关协变和逆变的详细信息,请参阅泛型中的协变和逆变
派生
实现

属性

ItemType

rest 委托的项参数的类型。

(继承自 IWait)
Need

等待的阶段。

(继承自 IWait)
NeedType

等待项的静态类型。

(继承自 IWait)
Rest

rest 委托方法。

(继承自 IWait)

方法

Fail(Exception)

将此等待标记为对此失败异常感到满意。

(继承自 IWait)
PollAsync(IFiber<C>, C, CancellationToken) (继承自 IWait<C>)
Post<T>(T)

将此等待标记为对此项满意。

(继承自 IWait)
Wait(Rest<C,T>)

扩展方法

CloneTyped<C>(IWait<C>)
ValidateNeed(IWait, Need)

适用于