Skip to content

ITransactionalStateStorageFactory.Create(string, IGrainContext)

Create(string, IGrainContext)

abstract
public abstract ITransactionalStateStorage<TState> Create<TState>(string stateName, IGrainContext context)
Creates storage for the specified transactional state.

Parameters

stateNamestring
The transactional state name.
contextIGrainContext
The grain context which owns the state.

Returns

The transactional state storage instance.