CallSiteEvent Class

Describes the point in a method where a function is called.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.IntelliTrace.12.0.0 (in Microsoft.IntelliTrace.12.0.0.dll)

public class CallSiteEvent : OrdinalEvent

The CallSiteEvent type exposes the following members.

  NameDescription
Public propertyCalleeMethodTokenGets the IntelliTrace method token for the method that is called.
Public propertyCallerMethodTokenGets the IntelliTrace method token for this method that contains this call site.
Public propertyInstructionLengthGets the length, in bytes, of the call instruction for this call site.
Public propertyOffsetGets the offset into the intermediate language (IL) of the method for this call site.
Public propertyOrdinalGets or sets the ordinal value. (Inherited from OrdinalEvent.)
Top

  NameDescription
Public methodCompareCompares 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.)
Public methodCompareTo(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.)
Public methodCompareTo(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.)
Public methodEquals(Object)Determines whether the specified object is equal to the current OrdinalEvent. (Inherited from OrdinalEvent.)
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 OrdinalEvent. (Inherited from OrdinalEvent.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

To decode the collected data, use ResolvedCallSiteEvent. The CallSiteEvent is one event in the ThreadChain or ThreadStreamChain.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft