Struct SuspendedExceptionTaskAwaitable<TArg>
Represents awaitable object that can suspend exception raised by the underlying task.
Inherited Members
Namespace: DotNext.Runtime.CompilerServices
Assembly: DotNext.dll
Syntax
public readonly struct SuspendedExceptionTaskAwaitable<TArg>
Type Parameters
Name | Description |
---|---|
TArg | The type of the argument to be passed to the exception filter. |
Methods
| Edit this page View SourceConfigureAwait(bool)
Configures an awaiter for this value.
Declaration
public SuspendedExceptionTaskAwaitable<TArg> 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 |
---|---|
SuspendedExceptionTaskAwaitable<TArg> | The configured object. |
GetAwaiter()
Gets the awaiter for this object.
Declaration
public SuspendedExceptionTaskAwaitable<TArg>.Awaiter GetAwaiter()
Returns
Type | Description |
---|---|
SuspendedExceptionTaskAwaitable<TArg>.Awaiter | The awaiter for this object. |