Delays until the process has exited or the specified timeout has been reached.
The process.
The timeout period in milliseconds.
process is null (Nothing in Visual Basic).
timeout is less than zero.