Converts a CLR Exception to an error message.
static CString ClrExceptionToText( System::Exception^ ex ); |
A handle to the CLR System::Exception object which was thrown during the execution of the add-in function.
A string containing a summary of the error, formed by taking ex->Message and replacing carriage returns and line feeds with spaces.
This function is called within the macro XLP_CATCH_CLR_EXCEPTIONS
,
in CLR builds only.
The function is available only under CLR builds.
Header: xllplus.h