Condividi tramite


ValueTask<TResult>.CreateAsyncMethodBuilder Metodo

Definizione

Crea un generatore di metodo da usare con un metodo asincrono.

public:
 static System::Runtime::CompilerServices::AsyncValueTaskMethodBuilder<TResult> CreateAsyncMethodBuilder();
public static System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<TResult> CreateAsyncMethodBuilder ();
static member CreateAsyncMethodBuilder : unit -> System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<'Result>
Public Shared Function CreateAsyncMethodBuilder () As AsyncValueTaskMethodBuilder(Of TResult)

Restituisce

AsyncValueTaskMethodBuilder<TResult>

Il generatore creato.

Si applica a