Waits for the System.Threading.Tasks.Task to complete execution within a specified number of milliseconds.
- millisecondsTimeout
- The number of milliseconds to wait, or System.Threading.Timeout.Infinite (-1) to wait indefinitely.
true if the System.Threading.Tasks.Task completed execution within the allotted time; otherwise, false.