# FaultInjectionTransactionalStateFactory

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#L32)

```csharp
public class FaultInjectionTransactionalStateFactory : IFaultInjectionTransactionalStateFactory
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

- [FaultInjectionTransactionalStateFactory(IGrainContextAccessor)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.faultinjectiontransactionalstatefactory/constructors/constructor-orleans-runtime-igraincontextaccessor-82e5ecaf/)

## Methods

- [Create(IFaultInjectionTransactionalStateConfiguration)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.faultinjectiontransactionalstatefactory/methods/create-1-orleans-transactions-testkit-ifaultinjectiontransactionalstateconfigura-c4d9f6bc/)
