Checking whether an event has been raised but not yet executed.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2013
Syntax
C# |
---|
public bool IsPending { get; } |
Visual Basic |
---|
Public ReadOnly Property IsPending As Boolean Get |
Visual C++ |
---|
public: property bool IsPending { bool get (); } |
Remarks
When an event is requested to raise it is not executed immediately;
instead, it waits for the next possible opportunity, which is determined
by various internal conditions in Revit (policy similar to invoking
external commands). When the opportunity comes, the event is executed
by calling the event's handler. In the meantime, the event is 'Pending'.