IntelliTraceTokenEvent Class

Describes the IntelliTraceTokenEvent.

The IntelliTraceTokenEvent occurs for each instrumented method and maps the IntelliTrace method token to a module id, metadata token pair.

The IntelliTraceTokenEvent is one of the events in the IntelliTraceTokenStreamChain.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
    Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
      Microsoft.VisualStudio.IntelliTrace.IntelliTraceTokenEvent

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)

Syntax

'Declaration
Public NotInheritable Class IntelliTraceTokenEvent _
    Inherits OrdinalEvent
public sealed class IntelliTraceTokenEvent : OrdinalEvent
public ref class IntelliTraceTokenEvent sealed : public OrdinalEvent
[<Sealed>]
type IntelliTraceTokenEvent =  
    class 
        inherit OrdinalEvent 
    end
public final class IntelliTraceTokenEvent extends OrdinalEvent

The IntelliTraceTokenEvent type exposes the following members.

Properties

  Name Description
Public property MetadataToken Gets the CLR method token for the method.
Public property MethodToken Gets the IntelliTrace method token that encapsulates the module, metadata token pair.
Public property Mvid Gets the mvid for the module. This id will change from build to build of the module.
Public property Ordinal Gets or sets the ordinal value. (Inherited from OrdinalEvent.)

Top

Methods

  Name Description
Public method Compare Compares 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 method CompareTo(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 method CompareTo(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 method Equals(Object) Determines whether the specified object is equal to the current OrdinalEvent. (Inherited from OrdinalEvent.)
Public method GetHashCode Gets a hash code for this OrdinalEvent. (Inherited from OrdinalEvent.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.IntelliTrace Namespace