ExternalEvent Class


External Event Class

A class that represent an external event.
Inheritance Hierarchy
System Object
Autodesk.Revit.UI ExternalEvent

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ExternalEvent : IDisposable

The ExternalEvent type exposes the following members.

Properties
Name Description
Public property IsPending Checking whether an event has been raised but not yet executed.
Top
Methods
Name Description
Public method Static member Create Creates an instance of external event.
Public method Static member CreateJournalable Creates an instance of external event which will have the ability to record its executions in the journal.
Public method Dispose Releases all resources used by the ExternalEvent
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method Raise Instructing Revit to raise (signal) the external event.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Remarks
An instance if this class will be returned to an external event's owner upon the event's creation. The event's owner will use this instance to signal that his application needs to be called by Revit. Revit will periodically check if any of the events have been signaled (raised), and will execute all events that were signaled (raised) by calling the Execute method on the events' respective handlers.
See Also