public sealed class StackTrace.Types.StackFrame : IMessage<StackTrace.Types.StackFrame>, IEquatable<StackTrace.Types.StackFrame>, IDeepCloneable<StackTrace.Types.StackFrame>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v2 API class StackTrace.Types.StackFrame.
public TruncatableString OriginalFunctionName { get; set; }
An un-mangled function name, if function_name is mangled.
To get information about name mangling, run
this search.
The name can be fully-qualified (up to 1024 bytes).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eStackTrace.Types.StackFrame\u003c/code\u003e class in the Google Cloud Trace v2 API is 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStackTrace.Types.StackFrame\u003c/code\u003e class represents a single stack frame in a stack trace and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eColumnNumber\u003c/code\u003e, \u003ccode\u003eFileName\u003c/code\u003e, \u003ccode\u003eFunctionName\u003c/code\u003e, \u003ccode\u003eLineNumber\u003c/code\u003e, \u003ccode\u003eLoadModule\u003c/code\u003e, \u003ccode\u003eOriginalFunctionName\u003c/code\u003e, and \u003ccode\u003eSourceVersion\u003c/code\u003e, which provide detailed information about the function call within the stack frame.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTruncatableString\u003c/code\u003e is used as the type for properties like \u003ccode\u003eFileName\u003c/code\u003e, \u003ccode\u003eFunctionName\u003c/code\u003e, \u003ccode\u003eOriginalFunctionName\u003c/code\u003e, and \u003ccode\u003eSourceVersion\u003c/code\u003e, to store string values with specified length limits.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStackFrame\u003c/code\u003e class offers two constructors, one default and one that accepts another \u003ccode\u003eStackFrame\u003c/code\u003e object for copying its properties.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Trace v2 API - Class StackTrace.Types.StackFrame (3.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.5.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.4.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.3.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.2.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.1.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.0.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/2.3.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/2.2.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame) \n\n public sealed class StackTrace.Types.StackFrame : IMessage\u003cStackTrace.Types.StackFrame\u003e, IEquatable\u003cStackTrace.Types.StackFrame\u003e, IDeepCloneable\u003cStackTrace.Types.StackFrame\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Trace v2 API class StackTrace.Types.StackFrame.\n\nRepresents a single stack frame in a stack trace. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StackTrace.Types.StackFrame \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StackTrace](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace)[Types](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types)[StackFrame](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StackTrace](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace)[Types](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types)[StackFrame](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StackTrace](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace)[Types](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types)[StackFrame](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types.StackFrame), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Trace.V2](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Trace.V2.dll\n\nConstructors\n------------\n\n### StackFrame()\n\n public StackFrame()\n\n### StackFrame(StackFrame)\n\n public StackFrame(StackTrace.Types.StackFrame other)\n\nProperties\n----------\n\n### ColumnNumber\n\n public long ColumnNumber { get; set; }\n\nThe column number where the function call appears, if available.\nThis is important in JavaScript because of its anonymous functions.\n\n### FileName\n\n public TruncatableString FileName { get; set; }\n\nThe name of the source file where the function call appears (up to 256\nbytes).\n\n### FunctionName\n\n public TruncatableString FunctionName { get; set; }\n\nThe fully-qualified name that uniquely identifies the function or\nmethod that is active in this frame (up to 1024 bytes).\n\n### LineNumber\n\n public long LineNumber { get; set; }\n\nThe line number in `file_name` where the function call appears.\n\n### LoadModule\n\n public Module LoadModule { get; set; }\n\nThe binary module from where the code was loaded.\n\n### OriginalFunctionName\n\n public TruncatableString OriginalFunctionName { get; set; }\n\nAn un-mangled function name, if `function_name` is mangled.\nTo get information about name mangling, run\n[this search](https://www.google.com/search?q=cxx+name+mangling).\nThe name can be fully-qualified (up to 1024 bytes).\n\n### SourceVersion\n\n public TruncatableString SourceVersion { get; set; }\n\nThe version of the deployed source code (up to 128 bytes)."]]