WaitForCompletion Method ()

Waits for any active test run on a background thread to complete.

Type: Runner

Namespace: XJTAG.Integration.XJRunner

Syntax

public void WaitForCompletion()

Exceptions

RuntimeException

An error occurred running the XJEase code.

System.ObjectDisposedException

The Runner has already been disposed.

Remarks

WaitForCompletion must be called after running any function asynchronously, either with StartFunction or StartTesting. If a TimeSpan is provided, then the method must return true before any other function is run.