Task |
Only 64 threads/tasks can be monitored.
This class is not supported on the 3-Series platforms.
public sealed class TaskMonitor : IDisposable
The TaskMonitor type exposes the following members.
| Name | Description | |
|---|---|---|
| TaskMonitor |
Constructor use to register this thread/task with the watchdog service.
Call Refresh to notify the service the thread is still running.
This class is not supported on the 3-Series platforms. The watchdog service can only monitor 64 threads/tasks at a time. This exception means we have reached the limit. |
| Name | Description | |
|---|---|---|
| Operational | Flag to indicate if this monitor object was successfully initialized with the watchdog. |
| Name | Description | |
|---|---|---|
| Dispose | Dispose of this thread moniter object. This will unregister this thread/task with the watchdog service. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Finalizer for this object.
(Overrides ObjectFinalize) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Refresh |
Method to notify the watchdog that this thread/task is still running.
This should be done every few seconds to prevent missed watchdog refresh cycles. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |