Struct ExceptionCapturingAwaitable.Awaiter
Represents the awaiter that suspends exception.
Assembly: DotNext.dll
Syntax
public readonly struct ExceptionCapturingAwaitable.Awaiter : ICriticalNotifyCompletion, INotifyCompletion
Properties
View Source
IsCompleted
Declaration
public bool IsCompleted { get; }
Property Value
Methods
View Source
GetResult()
Gets a result of asynchronous operation, and suspends exception if needed.
Declaration
public Exception? GetResult()
Returns
View Source
OnCompleted(Action)
Declaration
public void OnCompleted(Action action)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
View Source
UnsafeOnCompleted(Action)
Declaration
public void UnsafeOnCompleted(Action action)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
Implements
Extension Methods