Show / Hide Table of Contents

Struct ExceptionCapturingAwaitable

Represents the awaitable object that returns an exception if it was thrown by the task, or null.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: DotNext.Runtime.CompilerServices
Assembly: DotNext.dll
Syntax
public readonly struct ExceptionCapturingAwaitable

Methods

| Edit this page View Source

ConfigureAwait(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.

| Edit this page View Source

GetAwaiter()

Gets the awaiter for this object.

Declaration
public ExceptionCapturingAwaitable.Awaiter GetAwaiter()
Returns
Type Description
ExceptionCapturingAwaitable.Awaiter

The awaiter for this object.

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
Collection.ToAsyncEnumerator<TEnumerator, T>(TEnumerator, CancellationToken)
Collection.ToClassicEnumerator<TEnumerator, T>(TEnumerator)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
ExpressionBuilder.Const<T>(T)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾