Compartir a través de


INamedTransactionalStateStorageFactory.Create<TState> Método

Definición

Cree un ITransactionalStateStorage por nombre.

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)

Parámetros de tipo

TState

Parámetros

storageName
String

Nombre del almacenamiento de estado de transacción que se va a crear.

stateName
String

Nombre del estado de la transacción.

Devoluciones

ITransactionalStateStorage, null si no se encuentra.

Se aplica a