ITracer.TraceException(Exception, TraceEventType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Traces an exception.
public void TraceException (Exception ex, System.Diagnostics.TraceEventType eventType = System.Diagnostics.TraceEventType.Error);
abstract member TraceException : Exception * System.Diagnostics.TraceEventType -> unit
Public Sub TraceException (ex As Exception, Optional eventType As TraceEventType = System.Diagnostics.TraceEventType.Error)
Parameters
- ex
- Exception
The exception to trace
- eventType
- TraceEventType
The type of event to trace