Event Tracing for Windows (ETW)
Hi,I am working on ETW. I want to log an error. My code is as below.
[Event(201, Level = EventLevel.Error)]
public void Error(string message, params object[] parameters)
{
if (IsEnabled())
{
this.WriteEvent(201,parameters);
}
}
When i execute this the error message i am getting is
Exception is command processing for Eventsource <class name> unsupported type Object[] in event source.
I am using SLAB to see the output.
Please help me if anyone is aware of this.