public sealed class StackTrace.Types.StackFrames : IMessage<StackTrace.Types.StackFrames>, IEquatable<StackTrace.Types.StackFrames>, IDeepCloneable<StackTrace.Types.StackFrames>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v2 API class StackTrace.Types.StackFrames.
A collection of stack frames, which can be truncated.
[[["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\u003eThis document provides reference documentation for the \u003ccode\u003eStackTrace.Types.StackFrames\u003c/code\u003e class within the Google Cloud Trace v2 API for .NET, covering versions from 2.2.0 up to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStackTrace.Types.StackFrames\u003c/code\u003e class represents a collection of stack frames that can be truncated, and it implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eStackFrames()\u003c/code\u003e and \u003ccode\u003eStackFrames(StackTrace.Types.StackFrames other)\u003c/code\u003e, with the latter allowing the creation of a new instance based on an existing \u003ccode\u003eStackFrames\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class exposes properties such as \u003ccode\u003eDroppedFramesCount\u003c/code\u003e, indicating the number of dropped frames, and \u003ccode\u003eFrame\u003c/code\u003e, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e containing the stack frames.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the \u003ccode\u003eStackTrace.Types.StackFrames\u003c/code\u003e class is \u003ccode\u003eGoogle.Cloud.Trace.V2\u003c/code\u003e and it resides in the \u003ccode\u003eGoogle.Cloud.Trace.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Trace v2 API - Class StackTrace.Types.StackFrames (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.StackFrames)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.5.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.4.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.3.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.2.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.1.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/3.0.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/2.3.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Trace.V2/2.2.0/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames) \n\n public sealed class StackTrace.Types.StackFrames : IMessage\u003cStackTrace.Types.StackFrames\u003e, IEquatable\u003cStackTrace.Types.StackFrames\u003e, IDeepCloneable\u003cStackTrace.Types.StackFrames\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Trace v2 API class StackTrace.Types.StackFrames.\n\nA collection of stack frames, which can be truncated. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StackTrace.Types.StackFrames \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)[StackFrames](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames), [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)[StackFrames](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames), [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)[StackFrames](/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.Types.StackFrames), [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### StackFrames()\n\n public StackFrames()\n\n### StackFrames(StackFrames)\n\n public StackFrames(StackTrace.Types.StackFrames other)\n\nProperties\n----------\n\n### DroppedFramesCount\n\n public int DroppedFramesCount { get; set; }\n\nThe number of stack frames that were dropped because there\nwere too many stack frames.\nIf this value is 0, then no stack frames were dropped.\n\n### Frame\n\n public RepeatedField\u003cStackTrace.Types.StackFrame\u003e Frame { get; }\n\nStack frames in this call stack."]]