BuildMaster SDK Reference
Version:

DelayUntilExitAsync(System.Diagnostics.Process process, System.Threading.CancellationToken cancellationToken) Method

Delays until the process has exited.

Syntax

public static System.Threading.Tasks.Task DelayUntilExitAsync(System.Diagnostics.Process process, System.Threading.CancellationToken cancellationToken)

Parameters

process
Type: System.Diagnostics.Process

The process.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Exceptions

System.ArgumentNullException

process is null (Nothing in Visual Basic).