EventToken Structure
[A] lightweight reference to an event in a chain that can be stored without holding a reference to the event or chain.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'Declaration
Public Structure EventToken
public struct EventToken
public value class EventToken
[<Sealed>]
type EventToken = struct end
JScript supports the use of structures, but not the declaration of new ones.
The EventToken type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EventToken | Initializes a new instance of EventToken |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current EventToken. (Overrides ValueType.Equals(Object).) | |
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 EventToken. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Converts the value of the current EventToken object to a string. (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two EventTokens are considered equal. | |
Explicit(Int64 to EventToken) | ||
Explicit(EventToken to Int64) | ||
Inequality | Determines whether two EventTokens are considered not equal. |
Top
Fields
Name | Description | |
---|---|---|
Zero | Represents the zero token. This field is read-only. |
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.