Skip to content

ExternalEvent

Public 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.


Methods

Name

Description


Public Method
Static Member

Creates an instance of external event.


Public Method
Static Member

Creates an instance of external event which will have the ability to record its executions in the journal.


Public Method

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)


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.