Why does EventRecord.FormatDescription() return null?

后端 未结 2 1358
[愿得一人]
[愿得一人] 2021-02-08 12:29

When using System.Diagnostics.Eventing.Reader.EventLogQuery to read events from the Windows Event Log, the EventRecord.FormatDescription() method somet

2条回答
  •  离开以前
    2021-02-08 13:05

    so i've been struggling with this for a few days too. I couldn't get it to work by changing the culture. In the end, i just used the raw data in the Properties property of the event record. The message data is in there, it's just not pretty. (just about good enough for my audit needs though :-))

提交回复
热议问题