Struct EventReceiverAwaiter<T>
public struct EventReceiverAwaiter<T> : INotifyCompletionType Parameters
- T
- Implements
- Inherited Members
Constructors
EventReceiverAwaiter(TaskAwaiter<T>)
public EventReceiverAwaiter(TaskAwaiter<T> task)Parameters
- taskTaskAwaiter<T>
Properties
IsCompleted
public bool IsCompleted { get; }Property Value
Methods
GetResult()
public T GetResult()Returns
- T
OnCompleted(Action)
Schedules the continuation action that's invoked when the instance completes.
public void OnCompleted(Action continuation)Parameters
- continuationAction
- The action to invoke when the operation completes. 
Exceptions
- ArgumentNullException
- The - continuationargument is null (Nothing in Visual Basic).