Struct EventReceiverAwaiter<T>
public struct EventReceiverAwaiter<T> : INotifyCompletion
  Type 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
continuationActionThe action to invoke when the operation completes.
Exceptions
- ArgumentNullException
 The
continuationargument is null (Nothing in Visual Basic).