RVTDocs.com
Namespace: Autodesk.Revit.UI Class: ExternalEvent

ExternalEvent.Create

Method
Description:
Creates an instance of external event.
Syntax
public static ExternalEvent Create(
	IExternalEventHandler handler
)
Parameters
Parameter Type Description
handler IExternalEventHandler An instance of IExternalEventHandler which will execute the event.
Return Value
Type Description
ExternalEvent An instance of ExternalEvent class, which will be used to invoke the event
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was NULL