Bewerken

Delen via


PoolingAsyncValueTaskMethodBuilder<TResult>.SetResult(TResult) Method

Definition

Marks the value task as successfully completed.

public:
 void SetResult(TResult result);
public void SetResult (TResult result);
member this.SetResult : 'Result -> unit
Public Sub SetResult (result As TResult)

Parameters

result
TResult

The result to use to complete the value task.

Applies to