INamedTransactionalStateStorageFactory.Create<TState> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create an ITransactionalStateStorage by name.
public Orleans.Transactions.Abstractions.ITransactionalStateStorage<TState> Create<TState> (string storageName, string stateName) where TState : class, new();
abstract member Create : string * string -> Orleans.Transactions.Abstractions.ITransactionalStateStorage<'State (requires 'State : null and 'State : (new : unit -> 'State))> (requires 'State : null and 'State : (new : unit -> 'State))
Public Function Create(Of TState As {Class, New}) (storageName As String, stateName As String) As ITransactionalStateStorage(Of TState)
Type Parameters
- TState
Parameters
- storageName
- String
Name of transaction state storage to create.
- stateName
- String
Name of transaction state.
Returns
ITransactionalStateStorage, null if not found.