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.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)


Public Structure EventToken
public struct EventToken
public value class EventToken
type EventToken =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The EventToken type exposes the following members.


  Name Description
Public method EventToken Initializes a new instance of EventToken



  Name Description
Public method Equals Determines whether the specified object is equal to the current EventToken. (Overrides ValueType.Equals(Object).)
Public method GetHashCode Gets a hash code for this EventToken. (Overrides ValueType.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Converts the value of the current EventToken object to a string. (Overrides ValueType.ToString.)



  Name Description
Public operatorStatic member Equality Determines whether two EventTokens are considered equal.
Public operatorStatic member Explicit(Int64 to EventToken)
Public operatorStatic member Explicit(EventToken to Int64)
Public operatorStatic member Inequality Determines whether two EventTokens are considered not equal.



  Name Description
Public fieldStatic member Zero Represents the zero token. This field is read-only.


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


Microsoft.VisualStudio.IntelliTrace Namespace