ITransactionalStateFactory.Create<TState> 方法

定义

public Orleans.Transactions.Abstractions.ITransactionalState<TState> Create<TState> (Orleans.Transactions.Abstractions.TransactionalStateConfiguration config) where TState : class, new();
abstract member Create : Orleans.Transactions.Abstractions.TransactionalStateConfiguration -> Orleans.Transactions.Abstractions.ITransactionalState<'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}) (config As TransactionalStateConfiguration) As ITransactionalState(Of TState)

类型参数

TState

参数

返回

适用于