Bewerken

Delen via


AsyncTaskMethodBuilder.SetResult Method

Definition

Marks the task as successfully completed.

public:
 void SetResult();
public void SetResult ();
member this.SetResult : unit -> unit
Public Sub SetResult ()

Exceptions

The task has already completed.

-or-

The builder is not initialized.

Remarks

This type and its members are intended for use by the compiler.

Applies to