C# | |
---|---|
virtual void ClearError() |
Typically, the first error seen in any argument to a custom function will be the result of the custom function. To override this behavior, call ClearError after finishing all access to function arguments.
Note: Accessing function arguments after calling ClearError will result in undefined behavior.
The recommended practice for overriding default error handling is to:
- Finish all access to arguments.
- Call ClearError.
- Set the return value.
Requirements
Platforms: Windows 98, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or .NET 2.0. SpreadsheetGear for .NET 2006 requires the Microsoft .NET Framework 2.0.