Skip to content

ITransactionalStateStorageFactory Methods

Creates transactional state storage instances for grain activations.

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.