# NamedTransactionalStateStorageFactory Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.namedtransactionalstatestoragefactory/)

## Create(string, string) {#create-1-string-string-fd96240b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.namedtransactionalstatestoragefactory/methods/create-1-string-string-fd96240b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/State/NamedTransactionalStateStorageFactory.cs#L27-L47)

```csharp
public ITransactionalStateStorage<TState> Create<TState>(string storageName, string stateName)
```

Create an ITransactionalStateStorage by name.

### Parameters

- `storageName` (`string`): Name of transaction state storage to create.
- `stateName` (`string`): Name of transaction state.

### Returns

ITransactionalStateStorage, null if not found.
