 | Watchdog Constructor (Object, Duration) |
Constructs a new instance.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic Watchdog(
Object state,
Duration timeout
)
Public Sub New (
state As Object,
timeout As Duration
)
Parameters
- state
- Type: SystemObject
Specifies the value of the ExceptionState property
of the ThreadAbortException that is raised when the WatchedThread
is aborted. - timeout
- Type: RanorexDuration
Specifies the timeout after which the WatchedThread
is aborted.
RemarksThe CurrentThread will be watched.
See Also