Freigeben über


INamedTransactionalStateStorageFactory.Create<TState> Methode

Definition

Erstellen Sie einen ITransactionalStateStorage nach Namen.

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)

Typparameter

TState

Parameter

storageName
String

Name des zu erstellenden Transaktionsstatusspeichers.

stateName
String

Name des Transaktionsstatus.

Gibt zurück

ITransactionalStateStorage, null, falls nicht gefunden.

Gilt für: