Export (0) Print
Expand All

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)

public struct EventToken

The EventToken type exposes the following members.

Public methodEventTokenInitializes a new instance of EventToken

Public methodEqualsDetermines whether the specified object is equal to the current EventToken. (Overrides ValueType.Equals(Object).)
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 EventToken. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringConverts the value of the current EventToken object to a string. (Overrides ValueType.ToString().)

Public operatorStatic memberEqualityDetermines whether two EventTokens are considered equal.
Public operatorStatic memberExplicit(Int64 to EventToken)
Public operatorStatic memberExplicit(EventToken to Int64)
Public operatorStatic memberInequalityDetermines whether two EventTokens are considered not equal.

Public fieldStatic memberZeroRepresents the zero token. This field is read-only.

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

Community Additions

© 2015 Microsoft