NamedTransactionalStateStorageFactory.Create<TState> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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