NamedTransactionalStateStorageFactory.Create<TState> 方法

定义

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))
override this.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)

类型参数

TState

参数

storageName
String
stateName
String

返回

实现

适用于