Watchdog Class |
Namespace: Ranorex.Core
The Watchdog type exposes the following members.
| Name | Description | |
|---|---|---|
| Watchdog(Object, Duration) |
Constructs a new instance.
| |
| Watchdog(Object, Duration, Thread) |
Constructs a new instance.
|
| Name | Description | |
|---|---|---|
| WatchedThread |
The Thread that is watched and aborted if the timeout is elapsed.
|
| Name | Description | |
|---|---|---|
| CheckAbortSynchronous |
Can be called by the watched thread (and the watched thread only) to force the
watchdog to check the timeout and consequently abort synchronously.
| |
| Dispose |
Releases all resources held by this instance.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
When the instance is finalized, frees all resources of the instance.
(Overrides ObjectFinalize.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Note that an asynchronous abort of the watched thread is done not before 150% of the specified timeout are reached. Call the CheckAbortSynchronous method from the watched thread to abort the watched thread synchronously when the timeout is reached, but before the asynchronous abort happens.