TransactionCommitter<TService> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
TransactionCommitter<TService>(ITransactionCommitterConfiguration, IGrainActivationContext, ITransactionDataCopier<TransactionCommitter<TService>.OperationState>, IGrainRuntime, ILogger<TransactionCommitter<TService>>)
- Source:
- TransactionCommitter.cs
public TransactionCommitter (Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration config, Orleans.Runtime.IGrainActivationContext context, Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<TService>.OperationState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionCommitter<TService>> logger);
new Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)> : Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration * Orleans.Runtime.IGrainActivationContext * Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<'Service>.OperationState> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionCommitter<'Service>> -> Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)>
Public Sub New (config As ITransactionCommitterConfiguration, context As IGrainActivationContext, copier As ITransactionDataCopier(Of TransactionCommitter(Of TService).OperationState), grainRuntime As IGrainRuntime, logger As ILogger(Of TransactionCommitter(Of TService)))
参数
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TransactionCommitter<TService>.OperationState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionCommitter<TService>>
适用于
TransactionCommitter<TService>(ITransactionCommitterConfiguration, IGrainActivationContext, ITransactionDataCopier<TransactionCommitter<TService>.OperationState>, IGrainRuntime, ILoggerFactory)
public TransactionCommitter (Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration config, Orleans.Runtime.IGrainActivationContext context, Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<TService>.OperationState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)> : Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration * Orleans.Runtime.IGrainActivationContext * Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<'Service>.OperationState> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)>
Public Sub New (config As ITransactionCommitterConfiguration, context As IGrainActivationContext, copier As ITransactionDataCopier(Of TransactionCommitter(Of TService).OperationState), grainRuntime As IGrainRuntime, loggerFactory As ILoggerFactory)
参数
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TransactionCommitter<TService>.OperationState>
- grainRuntime
- IGrainRuntime
- loggerFactory
- ILoggerFactory
适用于
TransactionCommitter<TService>(ITransactionCommitterConfiguration, IGrainContextAccessor, ITransactionDataCopier<TransactionCommitter<TService>.OperationState>, IGrainRuntime, ILogger<TransactionCommitter<TService>>)
public TransactionCommitter (Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration config, Orleans.Runtime.IGrainContextAccessor contextAccessor, Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<TService>.OperationState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionCommitter<TService>> logger);
new Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)> : Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration * Orleans.Runtime.IGrainContextAccessor * Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<'Service>.OperationState> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionCommitter<'Service>> -> Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)>
Public Sub New (config As ITransactionCommitterConfiguration, contextAccessor As IGrainContextAccessor, copier As ITransactionDataCopier(Of TransactionCommitter(Of TService).OperationState), grainRuntime As IGrainRuntime, logger As ILogger(Of TransactionCommitter(Of TService)))
参数
- contextAccessor
- IGrainContextAccessor
- copier
- ITransactionDataCopier<TransactionCommitter<TService>.OperationState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionCommitter<TService>>