NamedTransactionalStateStorageFactory 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NamedTransactionalStateStorageFactory(IGrainContextAccessor)
public NamedTransactionalStateStorageFactory (Orleans.Runtime.IGrainContextAccessor contextAccessor);
new Orleans.Transactions.NamedTransactionalStateStorageFactory : Orleans.Runtime.IGrainContextAccessor -> Orleans.Transactions.NamedTransactionalStateStorageFactory
Public Sub New (contextAccessor As IGrainContextAccessor)
参数
- contextAccessor
- IGrainContextAccessor
适用于
NamedTransactionalStateStorageFactory(IGrainActivationContext, ILoggerFactory)
public NamedTransactionalStateStorageFactory (Orleans.Runtime.IGrainActivationContext context, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Transactions.NamedTransactionalStateStorageFactory : Orleans.Runtime.IGrainActivationContext * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Transactions.NamedTransactionalStateStorageFactory
Public Sub New (context As IGrainActivationContext, loggerFactory As ILoggerFactory)
参数
- context
- IGrainActivationContext
- loggerFactory
- ILoggerFactory
适用于
NamedTransactionalStateStorageFactory(IGrainContextAccessor, ILoggerFactory)
注意
Use the NamedTransactionalStateStorageFactory(IGrainContextAccessor contextAccessor) constructor.
public NamedTransactionalStateStorageFactory (Orleans.Runtime.IGrainContextAccessor contextAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
[System.Obsolete("Use the NamedTransactionalStateStorageFactory(IGrainContextAccessor contextAccessor) constructor.")]
public NamedTransactionalStateStorageFactory (Orleans.Runtime.IGrainContextAccessor contextAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Transactions.NamedTransactionalStateStorageFactory : Orleans.Runtime.IGrainContextAccessor * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Transactions.NamedTransactionalStateStorageFactory
[<System.Obsolete("Use the NamedTransactionalStateStorageFactory(IGrainContextAccessor contextAccessor) constructor.")>]
new Orleans.Transactions.NamedTransactionalStateStorageFactory : Orleans.Runtime.IGrainContextAccessor * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Transactions.NamedTransactionalStateStorageFactory
Public Sub New (contextAccessor As IGrainContextAccessor, loggerFactory As ILoggerFactory)
参数
- contextAccessor
- IGrainContextAccessor
- loggerFactory
- ILoggerFactory
- 属性