Share via


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.12.0.0 (in Microsoft.IntelliTrace.12.0.0.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
Public method EventToken Initializes a new instance of EventToken

Top

Methods

  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().)

Top

Operators

  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 GreaterThan
Public operatorStatic member GreaterThanOrEqual
Public operatorStatic member Inequality Determines whether two EventTokens are considered not equal.
Public operatorStatic member LessThan
Public operatorStatic member LessThanOrEqual

Top

Fields

  Name Description
Public fieldStatic member 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.

See Also

Reference

Microsoft.VisualStudio.IntelliTrace Namespace