This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
StackFrame Methods
The methods of the StackFrame class are listed below. For a complete list of StackFrame class members, see the StackFrame Members topic.
Public:
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetFileColumnNumber |
[To be supplied.] |
GetFileLineNumber |
Gets the line number in the file containing the code being executed. This information is normally extracted from the debugging symbols for the executable. |
GetFileName |
Gets the file name containing the code being executed. This information is normally extracted from the debugging symbols for the executable. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetILOffset |
Gets the offset from the start of the IL code for the method being executed. This offset may be approximate depending on whether the JIT compiler is generating debugging code or not. |
GetMethod |
Gets the method in which the frame is executing. |
GetNativeOffset |
Gets the offset from the start of the native (JIT-compiled) code for the method being executed. |
GetType (inherited from Object) |
Gets the Type of the Object. |
ToString |
Builds a readable representation of the stack trace. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
StackFrame Class | System.Diagnostics Namespace