Struct ExceptionCapturingAwaitable
Represents the awaitable object that returns an exception if it was thrown by the task, or null.
Inherited Members
Namespace: DotNext.Runtime.CompilerServices
Assembly: DotNext.dll
Syntax
public readonly struct ExceptionCapturingAwaitable
Methods
| Edit this page View SourceConfigureAwait(bool)
Configures an awaiter for this value.
Declaration
public ExceptionCapturingAwaitable ConfigureAwait(bool continueOnCapturedContext)
Parameters
Type | Name | Description |
---|---|---|
bool | continueOnCapturedContext | true to attempt to marshal the continuation back to the captured context; otherwise, false. |
Returns
Type | Description |
---|---|
ExceptionCapturingAwaitable | The configured object. |
GetAwaiter()
Gets the awaiter for this object.
Declaration
public ExceptionCapturingAwaitable.Awaiter GetAwaiter()
Returns
Type | Description |
---|---|
ExceptionCapturingAwaitable.Awaiter | The awaiter for this object. |