Edit

Bagikan melalui


ValueTask<TResult>.CreateAsyncMethodBuilder Method

Definition

Creates a method builder for use with an async method.

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)

Returns

The created builder.

Applies to