This documentation is archived and is not being maintained.

StackTrace Members

Represents a stack trace, which is an ordered collection of one or more stack frames.

The following tables list the members exposed by the StackTrace type.

  Name Description
Public method StackTrace Overloaded. Initializes a new instance of the StackTrace class.
Top

  Name Description
Public field Static METHODS_TO_SKIP Defines the default for the number of methods to omit from the stack trace. This field is constant.
Top

  Name Description
Public property FrameCount Gets the number of frames in the stack trace.
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetFrame Gets the specified stack frame.
Public method GetFrames Returns a copy of all stack frames in the current stack trace.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overridden. Builds a readable representation of the stack trace.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
Show: