TransactionalState<TState> Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
TransactionalState<TState>(TransactionalStateConfiguration, IGrainActivationContext, ITransactionDataCopier<TState>, IGrainRuntime, ILogger<TransactionalState<TState>>)
- Origine:
- 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)))
Parametri
- transactionalStateConfiguration
- TransactionalStateConfiguration
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionalState<TState>>
Si applica a
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)
Parametri
- transactionalStateConfiguration
- TransactionalStateConfiguration
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- loggerFactory
- ILoggerFactory
Si applica a
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)))
Parametri
- transactionalStateConfiguration
- TransactionalStateConfiguration
- contextAccessor
- IGrainContextAccessor
- copier
- ITransactionDataCopier<TState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionalState<TState>>