3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0

    public sealed class StackTrace : IMessage<StackTrace>, IEquatable<StackTrace>, IDeepCloneable<StackTrace>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Trace v2 API class StackTrace.

A call stack appearing in a trace.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StackTrace

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[StackTrace](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StackTrace](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[StackTrace](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.StackTrace.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Trace.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.md.txt)

## Assembly

Google.Cloud.Trace.V2.dll

## Constructors

### StackTrace()

    public StackTrace()

### StackTrace(StackTrace)

    public StackTrace(StackTrace other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `StackTrace` |

## Properties

### StackFrames

    public StackTrace.Types.StackFrames StackFrames { get; set; }

Stack frames in this stack trace. A maximum of 128 frames are allowed.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `StackTraceTypesStackFrames` |   |

### StackTraceHashId

    public long StackTraceHashId { get; set; }

The hash ID is used to conserve network bandwidth for duplicate
stack traces within a single trace.

Often multiple spans will have identical stack traces.
The first occurrence of a stack trace should contain both the
`stackFrame` content and a value in `stackTraceHashId`.

Subsequent spans within the same request can refer
to that stack trace by only setting `stackTraceHashId`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |