NamedTransactionalStateStorageFactory Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
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)
- Исходный код:
- NamedTransactionalStateStorageFactory.cs
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
- Атрибуты