Open sandboxFocus

Method SetAwaitedTask

SetAwaitedTask(Task, MethodBase)

Sets the awaited Task and/or MethodBase (i.e. the operand of the await operator).

Declaration
public void SetAwaitedTask(Task awaitedTask, MethodBase awaitedMethod)
Parameters
Type Name Description
Task awaitedTask

The awaited Task, or null if the Task cannot be determined.

MethodBase awaitedMethod

The awaited MethodBase.