> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CSharp: StackAnnotation

> CDKTN Core API Reference for StackAnnotation in CSharp.

## Initializer <a name="Initializer" id="cdktn.StackAnnotation.Initializer" />

```csharp theme={null}
using Io.Cdktn;

new StackAnnotation {
    string ConstructPath,
    AnnotationMetadataEntryType Level,
    string Message,
    string[] Stacktrace = null
};
```

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                               | **Type**                                                                                  | **Description**   |
| -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.StackAnnotation.property.constructPath">ConstructPath</a></code> | <code>string</code>                                                                       | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.level">Level</a></code>                 | <code><a href="#cdktn.AnnotationMetadataEntryType">AnnotationMetadataEntryType</a></code> | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.message">Message</a></code>             | <code>string</code>                                                                       | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.stacktrace">Stacktrace</a></code>       | <code>string\[]</code>                                                                    | *No description.* |

***

### `ConstructPath`<sup>Required</sup> <a name="ConstructPath" id="cdktn.StackAnnotation.property.constructPath" />

```csharp theme={null}
public string ConstructPath { get; set; }
```

* *Type:* string

***

### `Level`<sup>Required</sup> <a name="Level" id="cdktn.StackAnnotation.property.level" />

```csharp theme={null}
public AnnotationMetadataEntryType Level { get; set; }
```

* *Type:* <a href="#cdktn.AnnotationMetadataEntryType">AnnotationMetadataEntryType</a>

***

### `Message`<sup>Required</sup> <a name="Message" id="cdktn.StackAnnotation.property.message" />

```csharp theme={null}
public string Message { get; set; }
```

* *Type:* string

***

### `Stacktrace`<sup>Optional</sup> <a name="Stacktrace" id="cdktn.StackAnnotation.property.stacktrace" />

```csharp theme={null}
public string[] Stacktrace { get; set; }
```

* *Type:* string\[]

***
