NamedTransactionalStateStorageFactory 构造函数

定义

重载

NamedTransactionalStateStorageFactory(IGrainContextAccessor)
NamedTransactionalStateStorageFactory(IGrainActivationContext, ILoggerFactory)
NamedTransactionalStateStorageFactory(IGrainContextAccessor, ILoggerFactory)
已过时.

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)

Source:
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)

参数

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

适用于