Share via


TplExtensions.NoThrowValueTaskAwaiter(ValueTask, Boolean) Constructor

Definition

Initializes a new instance of the TplExtensions.NoThrowValueTaskAwaiter struct.

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)

Parameters

task
ValueTask

The task.

captureContext
Boolean

if set to true [capture context].

Applies to