Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DiagnosticEvent Class

Describes a DiagnosticEvent.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
public sealed class DiagnosticEvent : OrdinalEvent

The DiagnosticEvent type exposes the following members.

  NameDescription
Public propertyDataBytesGets the raw data bytes that were collected with this DiagnosticEvent.
Public propertyEventIdGets the event id for this DiagnosticEvent.
Public propertyEventTimeGet the event time of the DiagnosticEvent.
Public propertyNameGets the name of the DiagnosticEvent.
Public propertyNativeThreadIdGets the native thread ID for the thread where the DiagnosticEvent occurred.
Public propertyOrdinalGets or sets the ordinal value. (Inherited from OrdinalEvent.)
Public propertyStackFramesGets the call stack for the thread at this DiagnosticEvent.
Public propertyStackFramesInCommonGets the number of stack frames that are in common with the previous DiagnosticEvent.
Top
  NameDescription
Public methodCompareCompares one instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same sort position order as the other instance. (Inherited from OrdinalEvent.)
Public methodCompareTo(Object)Compares the current instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same position in the sort order as the other instance. (Inherited from OrdinalEvent.)
Public methodCompareTo(OrdinalEvent)Compares the current instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same sort position as the other instance. (Inherited from OrdinalEvent.)
Public methodEquals(Object)Determines whether the specified object is equal to the current OrdinalEvent. (Inherited from OrdinalEvent.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeGets a hash code for this OrdinalEvent. (Inherited from OrdinalEvent.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

A DiagnosticEvent is used to describe a specific event during the run of an application. 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 event in the DiagnosticChain or DiagnosticStreamChain.

To decode the collected data, use ResolvedDiagnosticEvent.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.