ValueTask.Preserve Method

Definition

Gets a ValueTask that may be used at any point in the future.

public:
 System::Threading::Tasks::ValueTask Preserve();
public System.Threading.Tasks.ValueTask Preserve ();
member this.Preserve : unit -> System.Threading.Tasks.ValueTask
Public Function Preserve () As ValueTask

Returns

The preserved ValueTask.

Applies to