Compartir a través de


ValueTask<TResult>.CreateAsyncMethodBuilder Método

Definición

Crea un generador de método para usarlo con un método asincrónico.

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)

Devoluciones

AsyncValueTaskMethodBuilder<TResult>

El generador creado.

Se aplica a