Writes a trace event to the trace listeners in the trace source listener collection using the specified event type and message.

Namespace: Hypertable
Assembly: ht4n (in ht4n.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void TraceEvent(
	TraceEventType traceEventType,
	Func<string> func
)
Public Shared Sub TraceEvent ( _
	traceEventType As TraceEventType, _
	func As Func(Of String) _
)
public:
static void TraceEvent(
	TraceEventType traceEventType, 
	Func<String^>^ func
)

Parameters

traceEventType
TraceEventType
The event type of the trace message.
func
Func<(Of <(<'String>)>)>
Function returning the trace message, evaluated if the trace event type specified has been enabled.

See Also