CancellationListener Class


Allows clients to poll the cancellation status of a background operation. Revit instantiates CancellationListener objects for internal background operation implementations only. As such, third-party developers are not expected to instantiate or handle CancellationListener objects.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017

Syntax

C#
public class CancellationListener : IDisposable
Visual Basic
Public Class CancellationListener _
	Implements IDisposable
Visual C++
public ref class CancellationListener : IDisposable

Inheritance Hierarchy

SystemObject
  Autodesk.Revit.DBCancellationListener

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →