2027 Class
Changes 0
C

ExternalEvent

Description:
A class that represent an external event.
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.ExternalEvent
public class ExternalEvent : IDisposable
Name Return Type Description Inherited From
M Create(IExternalEventHandler) ExternalEvent Creates an instance of external event.
M CreateJournalable(IExternalEventHandler) ExternalEvent Creates an instance of external event which will have the ability to record its executions in the journal.
M Dispose() None Releases all resources used by the ExternalEvent
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M Raise() ExternalEventRequest Instructing Revit to raise (signal) the external event.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsPending bool Checking whether an event has been raised but not yet executed.