ModuleTokenEvent Class
Describes the ModuleTokenEvent.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
Microsoft.VisualStudio.IntelliTrace.ModuleTokenEvent
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'Declaration
Public NotInheritable Class ModuleTokenEvent _
Inherits OrdinalEvent
public sealed class ModuleTokenEvent : OrdinalEvent
public ref class ModuleTokenEvent sealed : public OrdinalEvent
[<Sealed>]
type ModuleTokenEvent =
class
inherit OrdinalEvent
end
public final class ModuleTokenEvent extends OrdinalEvent
The ModuleTokenEvent type exposes the following members.
Properties
Name | Description | |
---|---|---|
MetadataToken | Gets the common-language-runtime method token for the method. | |
MethodToken | Gets the IntelliTrace method token that encapsulates the module-metadata token pair. | |
ModuleId | Gets a run-specific identifier for the module. | |
Ordinal | Gets or sets the ordinal value. (Inherited from OrdinalEvent.) |
Top
Methods
Name | Description | |
---|---|---|
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.) | |
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.) | |
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.) | |
Equals(Object) | Determines whether the specified object is equal to the current OrdinalEvent. (Inherited from OrdinalEvent.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets a hash code for this OrdinalEvent. (Inherited from OrdinalEvent.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
The ModuleTokenEvent occurs for each instrumented method and maps the IntelliTrace method token to a module ID- metadata token pair. The ModuleTokenEvent is one event in the ProcessChain or ProcessStreamChain.
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.