TransactionalState<TState> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TransactionalState<TState>(TransactionalStateConfiguration, IGrainActivationContext, ITransactionDataCopier<TState>, IGrainRuntime, ILogger<TransactionalState<TState>>)
- Source:
- TransactionalState.cs
public TransactionalState (Orleans.Transactions.Abstractions.TransactionalStateConfiguration transactionalStateConfiguration, Orleans.Runtime.IGrainActivationContext context, Orleans.Transactions.Abstractions.ITransactionDataCopier<TState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionalState<TState>> logger);
new Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))> : Orleans.Transactions.Abstractions.TransactionalStateConfiguration * Orleans.Runtime.IGrainActivationContext * Orleans.Transactions.Abstractions.ITransactionDataCopier<'State (requires 'State : null and 'State : (new : unit -> 'State))> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionalState<'State>> -> Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))>
Public Sub New (transactionalStateConfiguration As TransactionalStateConfiguration, context As IGrainActivationContext, copier As ITransactionDataCopier(Of TState), grainRuntime As IGrainRuntime, logger As ILogger(Of TransactionalState(Of TState)))
Parameters
- transactionalStateConfiguration
- TransactionalStateConfiguration
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionalState<TState>>
Applies to
TransactionalState<TState>(TransactionalStateConfiguration, IGrainActivationContext, ITransactionDataCopier<TState>, IGrainRuntime, ILoggerFactory)
public TransactionalState (Orleans.Transactions.Abstractions.TransactionalStateConfiguration transactionalStateConfiguration, Orleans.Runtime.IGrainActivationContext context, Orleans.Transactions.Abstractions.ITransactionDataCopier<TState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))> : Orleans.Transactions.Abstractions.TransactionalStateConfiguration * Orleans.Runtime.IGrainActivationContext * Orleans.Transactions.Abstractions.ITransactionDataCopier<'State (requires 'State : null and 'State : (new : unit -> 'State))> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))>
Public Sub New (transactionalStateConfiguration As TransactionalStateConfiguration, context As IGrainActivationContext, copier As ITransactionDataCopier(Of TState), grainRuntime As IGrainRuntime, loggerFactory As ILoggerFactory)
Parameters
- transactionalStateConfiguration
- TransactionalStateConfiguration
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- loggerFactory
- ILoggerFactory
Applies to
TransactionalState<TState>(TransactionalStateConfiguration, IGrainContextAccessor, ITransactionDataCopier<TState>, IGrainRuntime, ILogger<TransactionalState<TState>>)
public TransactionalState (Orleans.Transactions.Abstractions.TransactionalStateConfiguration transactionalStateConfiguration, Orleans.Runtime.IGrainContextAccessor contextAccessor, Orleans.Transactions.Abstractions.ITransactionDataCopier<TState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionalState<TState>> logger);
new Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))> : Orleans.Transactions.Abstractions.TransactionalStateConfiguration * Orleans.Runtime.IGrainContextAccessor * Orleans.Transactions.Abstractions.ITransactionDataCopier<'State (requires 'State : null and 'State : (new : unit -> 'State))> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionalState<'State>> -> Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))>
Public Sub New (transactionalStateConfiguration As TransactionalStateConfiguration, contextAccessor As IGrainContextAccessor, copier As ITransactionDataCopier(Of TState), grainRuntime As IGrainRuntime, logger As ILogger(Of TransactionalState(Of TState)))
Parameters
- transactionalStateConfiguration
- TransactionalStateConfiguration
- contextAccessor
- IGrainContextAccessor
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionalState<TState>>