C# Class DotRas.Diagnostics.DiagnosticSource

Represents a diagnostic source. This class cannot be inherited.
Mostra file Open project: mogikanin/DotRas

Private Properties

Property Type Description

Public Methods

Method Description
DiagnosticSource ( TraceSource source ) : System.Diagnostics

Initializes a new instance of the DiagnosticSource class.

TraceEvent ( TraceEventType eventType, int eventId, TraceEvent evt ) : void

Traces the event.

Method Details

DiagnosticSource() public method

Initializes a new instance of the DiagnosticSource class.
public DiagnosticSource ( TraceSource source ) : System.Diagnostics
source TraceSource The trace source.
return System.Diagnostics

TraceEvent() public method

Traces the event.
is a null reference (Nothing in Visual Basic).
public TraceEvent ( TraceEventType eventType, int eventId, TraceEvent evt ) : void
eventType TraceEventType The type of event.
eventId int The event id.
evt TraceEvent The trace event data.
return void