BuildMaster SDK Reference
Version:

WaitAndUnwrapExceptions(System.Threading.Tasks.Task task) Method

Waits for a task to complete.

Syntax

public static void WaitAndUnwrapExceptions(System.Threading.Tasks.Task task)

Parameters

task
Type: System.Threading.Tasks.Task

The task to wait for.

Exceptions

System.ArgumentNullException

task is null (Nothing in Visual Basic).