IMathLinkClearError Method

Clears the link error condition, if possible.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
bool ClearError()

Return Value

Boolean
Whether the error state could be cleared successfully.

Remarks

After an error has occurred, and a MathLinkException has been caught, you must call ClearError before doing anything else with the link. If it returns false, there is an unfixable problem, and you should close the link.

See Also