共用方式為


TransactionalStateFactory 建構函式

定義

多載

TransactionalStateFactory(IGrainActivationContext)
TransactionalStateFactory(IGrainContextAccessor)

TransactionalStateFactory(IGrainActivationContext)

來源:
TransactionalStateFactory.cs
public TransactionalStateFactory (Orleans.Runtime.IGrainActivationContext context);
new Orleans.Transactions.TransactionalStateFactory : Orleans.Runtime.IGrainActivationContext -> Orleans.Transactions.TransactionalStateFactory
Public Sub New (context As IGrainActivationContext)

參數

適用於

TransactionalStateFactory(IGrainContextAccessor)

public TransactionalStateFactory (Orleans.Runtime.IGrainContextAccessor contextAccessor);
new Orleans.Transactions.TransactionalStateFactory : Orleans.Runtime.IGrainContextAccessor -> Orleans.Transactions.TransactionalStateFactory
Public Sub New (contextAccessor As IGrainContextAccessor)

參數

contextAccessor
IGrainContextAccessor

適用於