Показать сообщение отдельно
Старый 03.04.2008, 16:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
dax-lessons: How to write a message to the Event Log
Источник: http://DAX-Lessons.spaces.live.com/B...FCD1!142.entry
==============


This tiny helper function creates the entry and closes it. The "source" argument is the name of your application


X++:
static void writeEntry_EventLog(Args _args)
{
    System.Diagnostics.EventLog oEV = newSystem.Diagnostics.EventLog();
    ;
    oEV.set_Source('Dynamics AX');
    oEV.WriteEntry("This is just aninformation from Dynamics AX");
    oEV.Close();
}




Источник: http://DAX-Lessons.spaces.live.com/B...FCD1!142.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.