System.Threading.Tasks.Task.Wait Method

Waits for the System.Threading.Tasks.Task to complete execution.

Syntax

public void Wait ()

Remarks

For more information and an example, see How to: Wait on One or More Tasks to Complete.

Requirements

Namespace: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0