Share via


DiagnosticEvent Class

Definition

Describes a DiagnosticEvent. A DiagnosticEvent is used to describe a specific event during an application's run. Typically this will be an event where the application interacts with the platform, library, or framework, or where the debugger interacts with the application during debugging. The DiagnosticEvent is one of the events in the DiagnosticChain or DiagnosticStreamChain.

public ref class DiagnosticEvent sealed : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
public ref class DiagnosticEvent sealed : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
class DiagnosticEvent sealed : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
public sealed class DiagnosticEvent : Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
type DiagnosticEvent = class
    inherit OrdinalEvent
Public NotInheritable Class DiagnosticEvent
Inherits OrdinalEvent
Inheritance

Properties

ActivityId

Get the ETW activity id associated with this event

DataBytes

Gets the raw data bytes collected with this DiagnosticEvent.

DebuggerId

Gets the debugger event id

EventId

Gets the event id for this DiagnosticEvent.

EventTime

Get the event time of the DiagnosticEvent.

Name

Gets the name of the DiagnosticEvent.

NativeThreadId

Gets the native thread id for the thread where the DiagnosticEvent occurred.

Ordinal

Gets or sets the ordinal value.

(Inherited from OrdinalEvent)
StackFrames

Gets the call stack for the thread at this DiagnosticEvent.

StackFramesInCommon

Methods

Compare(OrdinalEvent, OrdinalEvent)

Compares one instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
CompareTo(Object)

Compares the current instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
CompareTo(OrdinalEvent)

Compares the current instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
Equals(Object)

Determines whether the specified object is equal to the current OrdinalEvent.

(Inherited from OrdinalEvent)
GetHashCode()

Gets a hash code for this OrdinalEvent.

(Inherited from OrdinalEvent)

Applies to