How do Trace an entry with both a category and a TraceEventType?
That is, I can trace a message with a category:
Trace.WriteLine("hello", "MyCategory");
And I can trace a warning:
Trace.TraceWarning("uh oh");
but how do I trace a warning with a category?
I want this to apply to all listeners…I don’t want to have to select a specific listener.
Thanks.
Not possible as far as I can see;
http://msdn.microsoft.com/en-us/library/system.diagnostics.trace.tracewarning.aspx