ITracer.TraceException(Exception, TraceEventType) Method

Definition

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

Applies to