Share

ExternalEvent 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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class ExternalEvent : IDisposable

The ExternalEvent type exposes the following members.

Properties

 NameDescription
Public propertyIsPending Checking whether an event has been raised but not yet executed.

Methods

 NameDescription
Public methodStatic memberCreate Creates an instance of external event.
Public methodStatic memberCreateJournalable Creates an instance of external event which will have the ability to record its executions in the journal.
Public methodDisposeReleases all resources used by the ExternalEvent
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRaise Instructing Revit to raise (signal) the external event.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

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

Reference

Was this information helpful?