Share via


Wait<C,T> 类

定义

[System.Serializable]
public sealed class Wait<C,T> : ICloneable, IEquatable<Microsoft.Bot.Builder.Internals.Fibers.Wait<C,T>>, Microsoft.Bot.Builder.Dialogs.IAwaitable<T>, Microsoft.Bot.Builder.Internals.Fibers.IAwaiter<T>, Microsoft.Bot.Builder.Internals.Fibers.IItem<T>, Microsoft.Bot.Builder.Internals.Fibers.IPost<T>, Microsoft.Bot.Builder.Internals.Fibers.IWait<C,T>, Microsoft.Bot.Builder.Internals.Fibers.IWait<C>, System.Runtime.CompilerServices.INotifyCompletion, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type Wait<'C, 'T> = class
    interface IItem<'T>
    interface IAwaitable<'T>
    interface IWait<'C, 'T>
    interface IWait<'C>
    interface IWait
    interface ICloneable
    interface IPost<'T>
    interface IAwaiter<'T>
    interface INotifyCompletion
    interface IEquatable<Wait<'C, 'T>>
    interface ISerializable
Public NotInheritable Class Wait(Of C, T)
Implements IAwaitable(Of T), IAwaiter(Of T), ICloneable, IEquatable(Of Wait(Of C, T)), IItem(Of T), INotifyCompletion, IPost(Of T), ISerializable, IWait(Of C), IWait(Of C, T)

类型参数

C
T
继承
Wait<C,T>
属性
实现

构造函数

Wait<C,T>()

方法

Equals(Object)
GetHashCode()
ToString()

显式接口实现

IAwaitable<T>.GetAwaiter()
IAwaiter<T>.GetResult()
IAwaiter<T>.IsCompleted
ICloneable.Clone()
IEquatable<Wait<C,T>>.Equals(Wait<C,T>)
INotifyCompletion.OnCompleted(Action)
IPost<T>.Post(T)
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
IWait.Fail(Exception)
IWait.ItemType
IWait.Need
IWait.NeedType
IWait.Post<D>(D)
IWait.Rest
IWait<C,T>.Wait(Rest<C,T>)
IWait<C>.PollAsync(IFiber<C>, C, CancellationToken)

扩展方法

CloneTyped<C>(IWait<C>)
ToTask<T>(IAwaitable<T>)
ValidateNeed(IWait, Need)

适用于