C# Class System.Diagnostics.Events.ExceptionTraceEvent

A tracing event that exposes an Exception, in addition to a message string.
Inheritance: MessageTraceEvent
Datei anzeigen Open project: netfx/extensions Class Usage Examples

Public Methods

Method Description
ExceptionTraceEvent ( TraceEventType eventType, int eventId, Exception exception )

Initializes a new instance of the ExceptionTraceEvent class.

ExceptionTraceEvent ( TraceEventType eventType, int eventId, Exception exception, string message )

Initializes a new instance of the ExceptionTraceEvent class.

Method Details

ExceptionTraceEvent() public method

Initializes a new instance of the ExceptionTraceEvent class.
public ExceptionTraceEvent ( TraceEventType eventType, int eventId, Exception exception )
eventType TraceEventType
eventId int
exception Exception

ExceptionTraceEvent() public method

Initializes a new instance of the ExceptionTraceEvent class.
public ExceptionTraceEvent ( TraceEventType eventType, int eventId, Exception exception, string message )
eventType TraceEventType
eventId int
exception Exception
message string