In This Topic
Waits for the specified number of milliseconds for the thread to execute.
Syntax
'Declaration
Public Overridable Function WaitForCompletion( _
ByVal As Integer _
) As Boolean
public virtual bool WaitForCompletion(
int
)
Parameters
- timeout
- Number of milliseconds to wait. Specify System.Threading.Timeout.Infinite to wait forever.
Return Value
Returns True if the thread finished or False if the timeout elapsed.
See Also