OpenTAP 9.27
API Reference
Public Member Functions | Public Attributes | List of all members
OpenTap.Diagnostic.Event Struct Reference

A structure containing all information about an event. More...

Public Member Functions

 Event (long duration, int eventType, string message, string source, long timestamp)
 Construct new structure. More...
 
override string ToString ()
 Creates a string representation of this event structure.
 

Public Attributes

int EventType
 The event type this event was logged with. Typically matches System.Diagnostics.TraceEventType.
 
string Source
 The log source identifier this event was logged from.
 
long Timestamp
 The Timestamp for the event in Ticks.
 
long DurationNS
 The duration of the event in nanoseconds.
 
string Message
 The message for the event.
 

Detailed Description

A structure containing all information about an event.

Constructor & Destructor Documentation

◆ Event()

OpenTap.Diagnostic.Event.Event ( long  duration,
int  eventType,
string  message,
string  source,
long  timestamp 
)
inline

Construct new structure.

Parameters
durationThe duration of the event in nanoseconds.
eventTypeThe event type this event was logged with.
messageThe message for the event.
sourceThe log source identifier this event was logged from.
timestampThe timestamp for the event in system ticks.

OpenTAP 9.27 API built Wed Nov 27 2024 13:14:46