TransactionalState<TState> Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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)))
Paramètres
- transactionalStateConfiguration
- TransactionalStateConfiguration
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionalState<TState>>
S’applique à
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)
Paramètres
- transactionalStateConfiguration
- TransactionalStateConfiguration
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- loggerFactory
- ILoggerFactory
S’applique à
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)))
Paramètres
- transactionalStateConfiguration
- TransactionalStateConfiguration
- contextAccessor
- IGrainContextAccessor
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionalState<TState>>