InfologData
infoLogData;
SysInfologEnumerator sysInfologEnumerator;
sysInfologEnumerator =
SysInfologEnumerator::newData(infolog.infologData());
while (sysInfologEnumerator.moveNext() )
{
switch
(sysInfologEnumerator.currentException())
{
case
Exception::Warning:
info(strFmt("Message is %1",
sysInfologEnumerator.currentMessage()));
break;
}
}
=============
catch (Exception::CLRError)
{
ex = ClrInterop::getLastException();
if (ex != null)
{
ex = ex.get_InnerException();
if (ex != null)
{
error(ex.ToString());
}
}
}