共用方式為


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)

來源:
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
屬性

適用於