Skip to content

INamedTransactionalStateStorageFactory.Create(string?, string)

Create(string?, string)

abstract
public abstract ITransactionalStateStorage<TState> Create<TState>(string? storageName, string stateName)
Create an ITransactionalStateStorage by name.

Parameters

storageNamestring?
Name of transaction state storage to create.
stateNamestring
Name of transaction state.

Returns

The transactional state storage.

Exceptions

System.InvalidOperationException
No transactional state storage factory or grain storage provider is configured with the requested name.