.NET/Link API Version 1.5 USE FRAMES

IMathLink.ClearError Method 

Clears the link error condition, if possible.

[Visual Basic]
Function ClearError() As Boolean
[C#]
bool ClearError();

Return Value

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

IMathLink Interface | Wolfram.NETLink Namespace | Error