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
- 屬性