'Declaration
Sub ClearError()
'Usage
Dim instance As IArguments instance.ClearError()
void ClearError()
'Declaration
Sub ClearError()
'Usage
Dim instance As IArguments instance.ClearError()
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:
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2