Click or drag to resize

TimedBackgroundMonitor Properties

The TimedBackgroundMonitor type exposes the following members.

Properties
 NameDescription
Public propertyCancellationPending Returns true if the activity was cancelled by the user. The script has to check this value periodically. If it is set to true, the script should return.
Public propertyCancellationToken Gets the cancellation token (soft). Typical use of the soft cancellation token is to interrupt some work, without compromising the result (the result typically is incomplete, but not corrupted).
Public propertyCancellationTokenHard Gets the cancellation token (hard). Typical use of the hard cancellation token is to abort some work, with corrupting the result. If the result is not corrupted, then use the .
Public propertyProgress Gets or sets the current progress fraction.
Public propertyProgressFraction Gets or sets the latest progress fraction.
Public propertyReportText Gets or sets the latest progress text.
Public propertyShouldReportNow True if we should report the progress now. The progress can be reported at any time, but if the evaluation of the progress is costing, then this flag should be viewed first.
Public propertyStatus Gets or sets the current operation status.
Public propertySynchronizingObject Gets or sets the object used to marshal timer events to a specific thread.
Public propertyTaskName Gets the name to show while the task is active.
Top
See Also