CancellationListener
Description:
Allows clients to poll the cancellation status of a background operation. Revit instantiates CancellationListener objects for internal background operation implementations only.
Allows clients to poll the cancellation status of a background operation. Revit instantiates CancellationListener objects for internal background operation implementations only.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.CancellationListener
System.Object
Autodesk.Revit.DB.CancellationListener
public class CancellationListener : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| IsCancelled() | bool | Returns true if the operation associated with this instance has been cancelled. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |