AwaitableFromItem<T> Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a IAwaitable<T> from item passed to constructor.
public sealed class AwaitableFromItem<T> : Microsoft.Bot.Builder.Dialogs.IAwaitable<T>, Microsoft.Bot.Builder.Internals.Fibers.IAwaiter<T>, System.Runtime.CompilerServices.INotifyCompletiontype AwaitableFromItem<'T> = class
    interface IAwaitable<'T>
    interface IAwaiter<'T>
    interface INotifyCompletionPublic NotInheritable Class AwaitableFromItem(Of T)
Implements IAwaitable(Of T), IAwaiter(Of T), INotifyCompletionType Parameters
- T
The type of the item.
- Inheritance
- 
				AwaitableFromItem<T>
- Implements
Constructors
| AwaitableFromItem<T>(T) | 
Explicit Interface Implementations
| IAwaitable<T>.GetAwaiter() | |
| IAwaiter<T>.GetResult() | |
| IAwaiter<T>.IsCompleted | |
| INotifyCompletion.OnCompleted(Action) | 
Extension Methods
| ToTask<T>(IAwaitable<T>) |