Partager via


INamedTransactionalStateStorageFactory.Create<TState> Méthode

Définition

Créez un ITransactionalStateStorage par nom.

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)

Paramètres de type

TState

Paramètres

storageName
String

Nom du stockage de l’état de transaction à créer.

stateName
String

Nom de l’état de la transaction.

Retours

ITransactionalStateStorage, null si introuvable.

S’applique à