Share via


AwaitableAttachment 类

定义

[System.Serializable]
public class AwaitableAttachment : Microsoft.Bot.Builder.Dialogs.IAwaitable<System.IO.Stream>, Microsoft.Bot.Builder.Internals.Fibers.IAwaiter<System.IO.Stream>, System.Runtime.CompilerServices.INotifyCompletion, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type AwaitableAttachment = class
    interface IAwaitable<Stream>
    interface IAwaiter<Stream>
    interface INotifyCompletion
    interface ISerializable
Public Class AwaitableAttachment
Implements IAwaitable(Of Stream), IAwaiter(Of Stream), INotifyCompletion, ISerializable
继承
AwaitableAttachment
属性
实现

构造函数

AwaitableAttachment(Attachment)
AwaitableAttachment(SerializationInfo, StreamingContext)

属性

Attachment
IsCompleted

方法

GetAwaiter()
GetObjectData(SerializationInfo, StreamingContext)
GetResult()
OnCompleted(Action)
ProvideHelp<T>(IField<T>)
ResolveFromSourceAsync(Attachment)
ValidateAsync<T>(IField<T>, T)

扩展方法

ToTask<T>(IAwaitable<T>)

适用于