I would like to run a program only when a specific ASP.NET event occurs in the event-log. Is there any chance that it will get passed the event details when it is triggered?
Asked
Active
Viewed 691 times
1 Answers
1
You can schedule a task to occur when something in the Event Log happens. See here: http://msdn.microsoft.com/en-us/library/aa446887(v=vs.85).aspx

pcunite
- 130
- 2
-
From that I see that it is the script's responsibility to re-query the Event Log for any event-data it needs. It is NOT passed directly to it as an argument. – sysadmin1138 May 10 '11 at 23:06
-
I was afraid that passing event variables to program which will be runned when event occur is not possible. So thank you for answering and I'm accepting currently proposed answer. – GrZeCh May 13 '11 at 08:59