ReturnToSynchronizationContext.Awaiter Struct
Assembly: cs.temp.dll.dll
Implements
ICriticalNotifyCompletion
Members
Constructors
Properties
Methods
Constructors
Awaiter(SynchronizationContext, Boolean, CancellationToken)
public Awaiter(SynchronizationContext synchronizationContext, bool dontPostWhenSameContext, CancellationToken cancellationToken)
Parameters
synchronizationContext
System.Threading.SynchronizationContext
dontPostWhenSameContext
System.Boolean
cancellationToken
System.Threading.CancellationToken
Properties
IsCompleted
public readonly bool IsCompleted { get; }
Property Value
- System.Boolean
Methods
GetAwaiter()
public ReturnToSynchronizationContext.Awaiter GetAwaiter()
OnCompleted(Action)
public void OnCompleted(Action continuation)
Parameters
continuation
Action
UnsafeOnCompleted(Action)
public void UnsafeOnCompleted(Action continuation)
Parameters
continuation
Action
Implements
ICriticalNotifyCompletion