# AspireExportIgnoreAttribute Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [AspireExportIgnoreAttribute](/reference/api/csharp/aspire.hosting/aspireexportignoreattribute.md)
- Kind: `Properties`
- Members: `1`

Excludes a property, method, or type from ATS export when the containing type uses [AspireExportAttribute.ExposeProperties](/reference/api/csharp/aspire.hosting/aspireexportattribute/properties.md#exposeproperties) or [AspireExportAttribute.ExposeMethods](/reference/api/csharp/aspire.hosting/aspireexportattribute/properties.md#exposemethods).

## Reason

- Name: `Reason`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Ats/AspireExportIgnoreAttribute.cs)

Gets or sets the reason why this member is excluded from ATS export.

```csharp
public string? Reason { get; set; }
```

## Remarks

Use this property to document why an API cannot be exported to polyglot app hosts, distinguishing reviewed-but-incompatible members from those not yet reviewed.
