BuildMaster SDK Reference
Version:

DelayUntilExitAsync(System.Diagnostics.Process process, int? timeout) Method

Delays until the process has exited or the specified timeout has been reached.

Syntax

public static System.Threading.Tasks.Task DelayUntilExitAsync(System.Diagnostics.Process process, int? timeout)

Parameters

process
Type: System.Diagnostics.Process

The process.

timeout
Type: int?

The timeout period in milliseconds.

Exceptions

System.ArgumentNullException

process is null (Nothing in Visual Basic).

System.ArgumentOutOfRangeException

timeout is less than zero.