RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FailureMessage

FailureMessage.SetAdditionalElements

Method
Description:
Sets the additional reference elements for the failure.
Remarks:
Additional elements are used to highlight additional information to the user. They are not considered as causing the failure, but are related to it. User cannot delete them in extended error dialog.
Syntax
Parameters
Parameter Type Description
additionalElements ICollection The additional elements.
Return Value
Type Description
FailureMessage The FailureMessage.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException This FailureMessage is already posted to a document