FailureMessage.SetAdditionalElement
Method
Description:
Sets the additional reference element for the failure.
Sets the additional reference element 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.
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| additionalElement | ElementId | The additional element. |
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 |