Partilhar via


TplExtensions.NoThrowValueTaskAwaiter(ValueTask, Boolean) Construtor

Definição

Inicializa uma nova instância do struct TplExtensions.NoThrowValueTaskAwaiter.

public NoThrowValueTaskAwaiter (System.Threading.Tasks.ValueTask task, bool captureContext);
new Microsoft.VisualStudio.Threading.TplExtensions.NoThrowValueTaskAwaiter : System.Threading.Tasks.ValueTask * bool -> Microsoft.VisualStudio.Threading.TplExtensions.NoThrowValueTaskAwaiter
Public Sub New (task As ValueTask, captureContext As Boolean)

Parâmetros

task
ValueTask

A tarefa.

captureContext
Boolean

se definido como true [contexto de captura].

Aplica-se a