# TransactionalStateAttribute

Package: [Microsoft.Orleans.Transactions](/orleans/docs/api/csharp/microsoft.orleans.transactions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Transactions) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/Abstractions/TransactionalStateAttribute.cs#L7)

```csharp
public class TransactionalStateAttribute : Attribute, IFacetMetadata, ITransactionalStateConfiguration
```

Represents the base class for custom attributes.

## Constructors

- [TransactionalStateAttribute(string, string)](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.abstractions.transactionalstateattribute/constructors/constructor-string-string-d871a8e5/)

## Properties

- [StateName](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.abstractions.transactionalstateattribute/properties/statename-892ff927/)
- [StorageName](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.abstractions.transactionalstateattribute/properties/storagename-f899d0bb/)
