# FaultInjectionTransactionalStateAttribute

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

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Transactions.TestKit.Base) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/FaultInjectionTransactionStateAttribute.cs#L15)

```csharp
public class FaultInjectionTransactionalStateAttribute : Attribute, IFacetMetadata, ITransactionalStateConfiguration, IFaultInjectionTransactionalStateConfiguration
```

Represents the base class for custom attributes.

## Constructors

- [FaultInjectionTransactionalStateAttribute(string, string)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.faultinjectiontransactionalstateattribute/constructors/constructor-string-string-8c5f0c1d/)

## Properties

- [StateName](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.faultinjectiontransactionalstateattribute/properties/statename-1ea11e10/)
- [StorageName](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.faultinjectiontransactionalstateattribute/properties/storagename-7aa682c8/)
