ValueTask<TResult>.ConfigureAwait(Boolean) ValueTask<TResult>.ConfigureAwait(Boolean) ValueTask<TResult>.ConfigureAwait(Boolean) ValueTask<TResult>.ConfigureAwait(Boolean) Method

Definition

Konfiguriert ein „awaiter“-Element für diesen Wert.Configures an awaiter for this value.

public:
 System::Runtime::CompilerServices::ConfiguredValueTaskAwaitable<TResult> ConfigureAwait(bool continueOnCapturedContext);
public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult> ConfigureAwait (bool continueOnCapturedContext);
member this.ConfigureAwait : bool -> System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<'Result>
Public Function ConfigureAwait (continueOnCapturedContext As Boolean) As ConfiguredValueTaskAwaitable(Of TResult)

Parameter

continueOnCapturedContext
Boolean Boolean Boolean Boolean

true, um zu versuchen, die Fortsetzung zurück in den erfassten Text zu marshallen; andernfalls false.true to attempt to marshal the continuation back to the captured context; otherwise, false.

Gibt zurück

Gilt für: